com.liferay.portal.util
Class LicenseUtil
java.lang.Object
com.liferay.portal.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
@Deprecated
public static String getHostName()
- Deprecated. As of 6.2.0, replaced by
PortalUtil.getComputerName()
getIpAddresses
public static Set<String> getIpAddresses()
getMacAddresses
public static Set<String> getMacAddresses()
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