Liferay 6.1.10-ee-ga1

com.liferay.portal.license.util
Class LicenseManagerUtil

java.lang.Object
  extended by com.liferay.portal.license.util.LicenseManagerUtil

public class LicenseManagerUtil
extends Object


Field Summary
static int STATE_ABSENT
           
static int STATE_EXPIRED
           
static int STATE_GOOD
           
static int STATE_INACTIVE
           
static int STATE_INVALID
           
static int STATE_OVERLOAD
           
 
Constructor Summary
LicenseManagerUtil()
           
 
Method Summary
static void checkLicense(String productId)
           
static String getHostName()
           
static Set<String> getIpAddresses()
           
static LicenseInfo getLicenseInfo(String productId)
           
static LicenseManager getLicenseManager()
           
static int getLicenseState(String productId)
           
static Set<String> getMacAddresses()
           
 void setLicenseManager(LicenseManager licenseManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATE_ABSENT

public static final int STATE_ABSENT
See Also:
Constant Field Values

STATE_EXPIRED

public static final int STATE_EXPIRED
See Also:
Constant Field Values

STATE_GOOD

public static final int STATE_GOOD
See Also:
Constant Field Values

STATE_INACTIVE

public static final int STATE_INACTIVE
See Also:
Constant Field Values

STATE_INVALID

public static final int STATE_INVALID
See Also:
Constant Field Values

STATE_OVERLOAD

public static final int STATE_OVERLOAD
See Also:
Constant Field Values
Constructor Detail

LicenseManagerUtil

public LicenseManagerUtil()
Method Detail

checkLicense

public static void checkLicense(String productId)

getHostName

public static String getHostName()

getIpAddresses

public static Set<String> getIpAddresses()

getLicenseInfo

public static LicenseInfo getLicenseInfo(String productId)

getLicenseManager

public static LicenseManager getLicenseManager()

getLicenseState

public static int getLicenseState(String productId)

getMacAddresses

public static Set<String> getMacAddresses()

setLicenseManager

public void setLicenseManager(LicenseManager licenseManager)

Liferay 6.1.10-ee-ga1