link start!
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package javax.baja.license;
|
||||
|
||||
public interface Feature {
|
||||
void check() throws FeatureNotLicensedException;
|
||||
|
||||
String get(String str);
|
||||
|
||||
String get(String str, String str2);
|
||||
|
||||
long getExpiration();
|
||||
|
||||
String getFeatureName();
|
||||
|
||||
String getVendorName();
|
||||
|
||||
boolean getb(String str, boolean z);
|
||||
|
||||
int geti(String str, int i);
|
||||
|
||||
boolean isExpired();
|
||||
|
||||
String[] list();
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package javax.baja.license;
|
||||
|
||||
public interface LicenseManager {
|
||||
Feature checkFeature(String str, String str2) throws FeatureNotLicensedException, LicenseDatabaseException;
|
||||
|
||||
Feature getFeature(String str, String str2) throws FeatureNotLicensedException, LicenseDatabaseException;
|
||||
|
||||
Feature[] getFeatures() throws LicenseDatabaseException;
|
||||
}
|
||||
Reference in New Issue
Block a user