Package com.liferay.portal.util
Class LicenseUtil
Object
com.liferay.portal.util.LicenseUtil
- Author:
- Amos Fong
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClusterServerInfo
(String clusterNodeId) static int
static byte[]
registerOrder
(String orderUuid, String productEntryName, int maxServers) static void
registerOrder
(javax.servlet.http.HttpServletRequest httpServletRequest) static String
sendRequest
(String request) static void
writeServerProperties
(byte[] serverIdBytes)
-
Field Details
-
LICENSE_REPOSITORY_DIR
-
LICENSE_SERVER_URL
-
-
Constructor Details
-
LicenseUtil
public LicenseUtil()
-
-
Method Details
-
getClusterServerInfo
- Throws:
Exception
-
getIpAddresses
-
getMacAddresses
-
getProcessorCores
public static int getProcessorCores() -
getServerIdBytes
- Throws:
Exception
-
getServerInfo
-
registerOrder
public static void registerOrder(javax.servlet.http.HttpServletRequest httpServletRequest) -
registerOrder
-
sendRequest
- Throws:
Exception
-
writeServerProperties
- Throws:
Exception
-