Liferay 7.0-ga1 portal-kernel

com.liferay.portal.kernel.license.util
Class LicenseManagerUtil

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

public class LicenseManagerUtil
extends Object


Constructor Summary
LicenseManagerUtil()
           
 
Method Summary
static void checkLicense(String productId)
           
static List<Map<String,String>> getClusterLicenseProperties(String clusterNodeId)
           
static String getHostName()
           
static Set<String> getIpAddresses()
           
static LicenseInfo getLicenseInfo(String productId)
           
static LicenseManager getLicenseManager()
           
static List<Map<String,String>> getLicenseProperties()
           
static Map<String,String> getLicenseProperties(String productId)
           
static int getLicenseState(Map<String,String> licenseProperties)
           
static int getLicenseState(String productId)
           
static Set<String> getMacAddresses()
           
static void registerLicense(JSONObject jsonObject)
           
 void setLicenseManager(LicenseManager licenseManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenseManagerUtil

public LicenseManagerUtil()
Method Detail

checkLicense

public static void checkLicense(String productId)

getClusterLicenseProperties

public static List<Map<String,String>> getClusterLicenseProperties(String clusterNodeId)

getHostName

public static String getHostName()

getIpAddresses

public static Set<String> getIpAddresses()

getLicenseInfo

public static LicenseInfo getLicenseInfo(String productId)

getLicenseManager

public static LicenseManager getLicenseManager()

getLicenseProperties

public static List<Map<String,String>> getLicenseProperties()

getLicenseProperties

public static Map<String,String> getLicenseProperties(String productId)

getLicenseState

public static int getLicenseState(Map<String,String> licenseProperties)

getLicenseState

public static int getLicenseState(String productId)

getMacAddresses

public static Set<String> getMacAddresses()

registerLicense

public static void registerLicense(JSONObject jsonObject)
                            throws Exception
Throws:
Exception

setLicenseManager

public void setLicenseManager(LicenseManager licenseManager)

Liferay 7.0-ga1 portal-kernel