com.atomikos.license
Class DeveloperLicense

java.lang.Object
  extended by com.atomikos.license.License
      extended by com.atomikos.license.DeveloperLicense

public class DeveloperLicense
extends License

A developer license.


Field Summary
 
Fields inherited from class com.atomikos.license.License
DEVELOPER_TYPE_PROPERTY_VALUE, DOMAIN_PROPERTY_NAME, DOMAIN_TYPE_PROPERTY_VALUE, EVAL_TYPE_PROPERTY_VALUE, EXPIRES_PROPERTY_NAME, HOST_TYPE_PROPERTY_VALUE, HOSTS_PROPERTY_NAME, LICENSE_FILE_BASE_NAME, LICENSE_PROPERTY_FILE_NAME, LICENSE_SIGNATURE_FILE_NAME, LICENSE_TYPE_PROPERTY_NAME, OWNER_PROPERTY_NAME, PRODUCT_NAME_PROPERTY_NAME, UNLIMITED_TYPE_PROPERTY_VALUE
 
Constructor Summary
DeveloperLicense(Properties properties)
           
 
Method Summary
 void checkLocalHost(String productName)
          Checks if the local host is allowed to run a product of the specified version.
 void printInfo(PrintWriter out)
          Print information about the license to the supplied output.
 
Methods inherited from class com.atomikos.license.License
createInformationalLicense, createLicense, filterProductFeatures, getProperty, sendForm, setDigestName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeveloperLicense

public DeveloperLicense(Properties properties)
Method Detail

checkLocalHost

public void checkLocalHost(String productName)
                    throws UnknownHostException,
                           CorruptLicenseException,
                           InvalidMachineLicenseException,
                           ExpiredLicenseException,
                           WrongProductLicenseException
Description copied from class: License
Checks if the local host is allowed to run a product of the specified version.

Overrides:
checkLocalHost in class License
Parameters:
productName - The name of the product.
Throws:
UnknownHostException - If the IP could not be determined.
CorruptLicenseException - If tampering is detected.
InvalidMachineLicenseException - If the IP is wrong.
ExpiredLicenseException - If the license has expired.
WrongProductLicenseException - If the wrong product for this license.

printInfo

public void printInfo(PrintWriter out)
Description copied from class: License
Print information about the license to the supplied output.

Overrides:
printInfo in class License
Parameters:
out - The output.


Copyright © 2012. All Rights Reserved.