planetj.license
Class LicenseManager

java.lang.Object
  |
  +--planetj.license.LicenseManager

public class LicenseManager
extends Object

Insert the type's description here. Creation date: (1/8/2003 11:56:50 AM)


Field Summary
static String className
          Class name.
 
Method Summary
 String getDefaultLicenseLocation()
          Returns the expected location of a license.
 String getLicenseLocation(ILicense license)
          Returns the expected location of a license.
 boolean isValid(License pLicense)
          Checks if a licensed is invalid and if true stores as invalid.
static void main(String[] args)
          Insert the method's description here.
 ILicense retrieveLicense(String pServerRoot)
          Retrieve license from store.
static LicenseManager singleton()
          Ensure there is only a single instance of the LicenseManager Creation date: (1/8/2003 9:41:40 PM)
 void storeLicense(ILicense pLicense)
          Pass license to store for serialization Must call the singleton() method to get an instance Creation date: (1/8/2003 9:54:48 PM)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

public static final String className
Class name.

Method Detail

getDefaultLicenseLocation

public String getDefaultLicenseLocation()
Returns the expected location of a license. Might accept a license object and query it for the location it should be installed. Must call the singleton() method to get an instance Creation date: (4/11/2003 5:58:09 PM)

Returns:
String

getLicenseLocation

public String getLicenseLocation(ILicense license)
Returns the expected location of a license. Might accept a license object and query it for the location it should be installed. Must call the singleton() method to get an instance Creation date: (4/11/2003 5:58:09 PM)

Returns:
String

isValid

public boolean isValid(License pLicense)
Checks if a licensed is invalid and if true stores as invalid. If already stored as invalid then just return true. Should throw the exception instead of catching. Must call the singleton() method to get an instance Creation date: (1/11/2003 7:44:58 PM)

Parameters:
pLicense - planetj.license.License5_0
Returns:
boolean

main

public static void main(String[] args)
Insert the method's description here. Creation date: (1/9/2003 3:46:27 PM)


retrieveLicense

public ILicense retrieveLicense(String pServerRoot)
                         throws CMException
Retrieve license from store. Must call the singleton() method to get an instance Creation date: (1/8/2003 12:26:08 PM)

Returns:
planetj.license.AbstractLicense
CMException

singleton

public static LicenseManager singleton()
Ensure there is only a single instance of the LicenseManager Creation date: (1/8/2003 9:41:40 PM)

Returns:
planetj.license.LicenseManager

storeLicense

public void storeLicense(ILicense pLicense)
                  throws CMException
Pass license to store for serialization Must call the singleton() method to get an instance Creation date: (1/8/2003 9:54:48 PM)

CMException