|
WEBsina Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.websina.license.LicenseManager
The class is shipped along with the product to the consumer. It is an abstract class and the getInstance() method returns a LicenseManager implemented by LicenseManagerImpl.
Constructor Summary | |
LicenseManager()
|
Method Summary | |
abstract int |
daysLeft()
It returns how many days are left for the license. |
abstract java.lang.String |
getFeature(java.lang.String name)
This method is called by the license client to get the feature of the license. |
static LicenseManager |
getInstance()
|
abstract boolean |
isValid()
It first checks the license itself is not tampered and is valid, and then checks the license is not expired. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LicenseManager()
Method Detail |
public static final LicenseManager getInstance()
public abstract boolean isValid() throws java.security.GeneralSecurityException
java.security.GeneralSecurityException
public abstract int daysLeft()
public abstract java.lang.String getFeature(java.lang.String name)
|
WEBsina Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |