planetj.license
Class LicenseStore

java.lang.Object
  extended byplanetj.license.LicenseStore

public class LicenseStore
extends java.lang.Object


Field Summary
static java.lang.String className
          Class name.
 
Constructor Summary
LicenseStore()
           
 
Method Summary
static ILicense retrieveLicense(boolean runtime)
          Deserialize license from default license location - license is currently version Wow 5.0.
static void storeLicense(ILicense license)
          Serialize license into file at default location.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

public static final java.lang.String className
Class name.

Constructor Detail

LicenseStore

public LicenseStore()
Method Detail

retrieveLicense

public static ILicense retrieveLicense(boolean runtime)
                                throws CMException
Deserialize license from default license location - license is currently version Wow 5.0. If license cannot be located then do not allow even a trial to be created. Creation date: (1/8/2003 2:05:46 PM)

Returns:
planetj.license.AbstractLicense
Throws:
CMException

storeLicense

public static void storeLicense(ILicense license)
                         throws CMException
Serialize license into file at default location. Creation date: (1/8/2003 2:44:43 PM)

Throws:
CMException