com.liferay.portal.license.util
Class DefaultLicenseManagerImpl
java.lang.Object
com.liferay.portal.license.util.DefaultLicenseManagerImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.license.util.LicenseManager
public class DefaultLicenseManagerImpl
- extends Object
- implements com.liferay.portal.kernel.license.util.LicenseManager
| Fields inherited from interface com.liferay.portal.kernel.license.util.LicenseManager |
STATE_ABSENT, STATE_EXPIRED, STATE_GOOD, STATE_INACTIVE, STATE_INVALID, STATE_OVERLOAD |
| 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 com.liferay.portal.kernel.license.util.LicenseManager
getClusterLicenseProperties
public List<Map<String,String>> getClusterLicenseProperties(String clusterNodeId)
- Specified by:
getClusterLicenseProperties in interface com.liferay.portal.kernel.license.util.LicenseManager
getHostName
public String getHostName()
- Specified by:
getHostName in interface com.liferay.portal.kernel.license.util.LicenseManager
getIpAddresses
public Set<String> getIpAddresses()
- Specified by:
getIpAddresses in interface com.liferay.portal.kernel.license.util.LicenseManager
getLicenseInfo
public com.liferay.portal.kernel.license.LicenseInfo getLicenseInfo(String productId)
- Specified by:
getLicenseInfo in interface com.liferay.portal.kernel.license.util.LicenseManager
getLicenseProperties
public List<Map<String,String>> getLicenseProperties()
- Specified by:
getLicenseProperties in interface com.liferay.portal.kernel.license.util.LicenseManager
getLicenseProperties
public Map<String,String> getLicenseProperties(String productId)
- Specified by:
getLicenseProperties in interface com.liferay.portal.kernel.license.util.LicenseManager
getLicenseState
public int getLicenseState(Map<String,String> licenseProperties)
- Specified by:
getLicenseState in interface com.liferay.portal.kernel.license.util.LicenseManager
getLicenseState
public int getLicenseState(String productId)
- Specified by:
getLicenseState in interface com.liferay.portal.kernel.license.util.LicenseManager
getMacAddresses
public Set<String> getMacAddresses()
- Specified by:
getMacAddresses in interface com.liferay.portal.kernel.license.util.LicenseManager
registerLicense
public void registerLicense(com.liferay.portal.kernel.json.JSONObject jsonObject)
throws Exception
- Specified by:
registerLicense in interface com.liferay.portal.kernel.license.util.LicenseManager
- Throws:
Exception