Holger's
Java API

Uses of Class
com.antelmann.LicensingException

Packages that use LicensingException
com.antelmann These are general classes that apply for the framework as a whole. 
 

Uses of LicensingException in com.antelmann
 

Subclasses of LicensingException in com.antelmann
 class ExpiredLicenseException
          thrown to indicate that the given license is expired and/or has no usage left
 class LicenseKeyException
          indicates a problem with a license key
 class MissingLicenseException
          thrown to indicate that no license is available for the given licensee
 

Methods in com.antelmann with parameters of type LicensingException
 void LicenseLoader.acquireLicense(Object licensee, LicensingException le, Component c)
          first checks the already known locations and tries to acquire a license from there; if that fails, a user dialog appears - allowing to choose another location.
 void LicenseHandler.acquireLicense(Object licensee, LicensingException le, Component c)
          called if the first attempt to call Settings.checkLicense(Object) fails internally with a LicensingException.
 

Methods in com.antelmann that throw LicensingException
 void LicenseManager.check(Object licensee)
          checks for a valid license for the given object and only returns gracefully if a valid license was found.
 void License.checkValidation()
          checks whether this license is properly singed, not expired, still has usage left and has no other boundaries that prevent its validation on this system.
 License LicenseManager.install(License l)
          installs the given license into this LicenseManager, so that it can be found if a check on the licensee is made.
static License License.loadLicense(byte[] bytes)
          deserializes a license object from a byte pattern; license is not validated
static License License.loadLicense(File file)
          loads a single serialized license from a file; license is not validated
static License License.loadLicense(InputStream stream)
          loads a single serialized license from a stream; license is not validated
static License License.loadLicense(URL url)
          loads a single serialized license from a URL; license is not validated
 void License.setSignature(byte[] signature)
          the method that signs the license and thus makes it usable.
 void LicenseCreator.signLicense(License license)
          only works in a proper development environment
 int License.use()
          uses this license; if usage is limited, the return value of usageLeft() is decreased by one after a call to this method.
 void LicenseManager.verifyLicense(License l)
          checks the signature against the certificate.
 



(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads