|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LicenseHandler
can be used to obtain a license from some source if a call to
Settings.checkLicense(Object) initially fails.
This callback handler could be used e.g. to try to renew a license
from some well known server once the local license expired.
Another alternative would be to open up a dialog where the user
can select a file to import a license.
Settings.checkLicense(Object),
Settings.setLicenseHandler(LicenseHandler),
LicenseManager,
License| Method Summary | |
|---|---|
void |
acquireLicense(Object licensee,
LicensingException le,
Component c)
called if the first attempt to call Settings.checkLicense(Object)
fails internally with a LicensingException. |
| Method Detail |
|---|
void acquireLicense(Object licensee,
LicensingException le,
Component c)
Settings.checkLicense(Object)
fails internally with a LicensingException.
The call to Settings.checkLicense(Object) can only finish
without throwing a SecurityException if this method can successfully
install a valid license for the given licensee
licensee - the object that requested the licensele - the exception that was raised by the LicenseManagerc - the component (which may be null) that can be used to put
dialogs on top of it.Settings.checkLicense(Object),
Settings.checkLicense(Object, Component),
LicenseManager
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||