public class LicenseManager
extends java.lang.Object
Constructor and Description |
---|
LicenseManager() |
Modifier and Type | Method and Description |
---|---|
static void |
checkLicense(ProductType product,
Version prodVersion) |
static License |
findAndCheckLicense(ApplicationContext ctx,
boolean isBreakExecution)
Checks the availability and validity of a License.
|
static License |
findLicense(ProductType product,
Version prodVersion) |
static License |
findLicense(Version prodVersion) |
static boolean |
hasValidLicense(ProductType product) |
static void |
main(java.lang.String[] args) |
public static License findLicense(ProductType product, Version prodVersion)
public static void checkLicense(ProductType product, Version prodVersion) throws java.lang.Exception
java.lang.Exception
public static License findAndCheckLicense(ApplicationContext ctx, boolean isBreakExecution) throws java.lang.Exception
isBreakExecution
- tells whether Exception should be thrown if no valid license existsjava.lang.Exception
public static boolean hasValidLicense(ProductType product)
public static void main(java.lang.String[] args)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.