com.liferay.portal.license.util
Class LicenseUtil
java.lang.Object
com.liferay.portal.license.util.LicenseUtil
public class LicenseUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LICENSE_REPOSITORY_DIR
public static final String LICENSE_REPOSITORY_DIR
LICENSE_SERVER_URL
public static final String LICENSE_SERVER_URL
LicenseUtil
public LicenseUtil()
getClusterServerInfo
public static Map<String,String> getClusterServerInfo(String clusterNodeId)
throws Exception
- Throws:
Exception
getHostName
public static String getHostName()
getIpAddresses
public static Set<String> getIpAddresses()
getMacAddresses
public static Set<String> getMacAddresses()
getMacAddresses
public static Set<String> getMacAddresses(String osName,
InputStream processInputStream)
throws Exception
- Throws:
Exception
getServerIdBytes
public static byte[] getServerIdBytes()
throws Exception
- Throws:
Exception
getServerInfo
public static Map<String,String> getServerInfo()
registerOrder
public static void registerOrder(javax.servlet.http.HttpServletRequest request)
registerOrder
public static Map<String,Object> registerOrder(String orderUuid,
String productEntryName,
int maxServers)
sendRequest
public static String sendRequest(String request)
throws Exception
- Throws:
Exception
writeServerProperties
public static void writeServerProperties(byte[] serverIdBytes)
throws Exception
- Throws:
Exception