com.liferay.portal.license.util
Class DefaultLicenseManagerImpl
java.lang.Object
com.liferay.portal.license.util.DefaultLicenseManagerImpl
- All Implemented Interfaces:
- LicenseManager
public class DefaultLicenseManagerImpl
- extends Object
- implements LicenseManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLicenseManagerImpl
public DefaultLicenseManagerImpl()
checkLicense
public void checkLicense(String productId)
- Specified by:
checkLicense
in interface LicenseManager
getClusterLicenseProperties
public List<Map<String,String>> getClusterLicenseProperties(String clusterNodeId)
- Specified by:
getClusterLicenseProperties
in interface LicenseManager
getHostName
public String getHostName()
- Specified by:
getHostName
in interface LicenseManager
getIpAddresses
public Set<String> getIpAddresses()
- Specified by:
getIpAddresses
in interface LicenseManager
getLicenseInfo
public LicenseInfo getLicenseInfo(String productId)
- Specified by:
getLicenseInfo
in interface LicenseManager
getLicenseProperties
public List<Map<String,String>> getLicenseProperties()
- Specified by:
getLicenseProperties
in interface LicenseManager
getLicenseProperties
public Map<String,String> getLicenseProperties(String productId)
- Specified by:
getLicenseProperties
in interface LicenseManager
getLicenseState
public int getLicenseState(Map<String,String> licenseProperties)
- Specified by:
getLicenseState
in interface LicenseManager
getLicenseState
public int getLicenseState(String productId)
- Specified by:
getLicenseState
in interface LicenseManager
getMacAddresses
public Set<String> getMacAddresses()
- Specified by:
getMacAddresses
in interface LicenseManager
registerLicense
public void registerLicense(JSONObject jsonObject)
throws Exception
- Specified by:
registerLicense
in interface LicenseManager
- Throws:
Exception