org.jwalk.core
Class LicenseManager

java.lang.Object
  extended by org.jwalk.core.LicenseManager

public final class LicenseManager
extends java.lang.Object

LicenseManager grants a licensed user authority to use the JWalk tool suite. If the user has a valid JWalk license, this LicenseManager grants the user permission to continue using the JWalk tool suite. Otherwise, it refuses permission to execute the tools. Reasons for refusal may include: not having a license; having an illegally modified or corrupted license; having a license for a different user; or illegally transferring a license to a different installation of the JWalk tool suite.


Constructor Summary
LicenseManager()
          Creates a LicenseManager that grants permission to use the JWalk tools.
 
Method Summary
 void validateLicense()
          Loads and validates the user's JWalk license.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenseManager

public LicenseManager()
Creates a LicenseManager that grants permission to use the JWalk tools. This LicenseManager is created once when a JWalker is first created.

Method Detail

validateLicense

public final void validateLicense()
Loads and validates the user's JWalk license. If the user has a valid JWalk license, this method runs to completion and allows the user to continue to operate the JWalk tool suite. If the user does not have a JWalk license, or the license is invalid (for a different user, or for a different installation of the JWalk toolset) then this method does not run to completion, but terminates the execution of the JWalker, printing an error message on standard error.