Package org.cyclos.impl.system
Interface InstanceHandler
-
- All Known Implementing Classes:
LicenseHandlerImpl
public interface InstanceHandlerContains methods to handle the Cyclos license update
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DategetLastUpdate()Returns the last time a license was updatedvoidofflineUpdate(SerializableInputStream in)Perform the offline license updatevoidonlineUpdate()Perform the online license updatebooleanonlineUpdateIfNeeded()Perform the online license update if the current license doesn't allow offline updates and if the last update was less than a week ago
-
-
-
Method Detail
-
getLastUpdate
Date getLastUpdate()
Returns the last time a license was updated
-
offlineUpdate
void offlineUpdate(SerializableInputStream in)
Perform the offline license update
-
onlineUpdate
void onlineUpdate() throws LicenseServerOfflineExceptionPerform the online license update- Throws:
LicenseServerOfflineException
-
onlineUpdateIfNeeded
boolean onlineUpdateIfNeeded() throws LicenseServerOfflineExceptionPerform the online license update if the current license doesn't allow offline updates and if the last update was less than a week ago- Throws:
LicenseServerOfflineException
-
-