Liferay 6.2-ce-ga5

com.liferay.portal.license.util
Class LicenseUtil

java.lang.Object
  extended by com.liferay.portal.license.util.LicenseUtil

public class LicenseUtil
extends Object


Field Summary
static String LICENSE_REPOSITORY_DIR
           
static String LICENSE_SERVER_URL
           
 
Constructor Summary
LicenseUtil()
           
 
Method Summary
static Map<String,String> getClusterServerInfo(String clusterNodeId)
           
static String getHostName()
          Deprecated. As of 6.2.0, replaced by PortalUtil.getComputerName()
static Set<String> getIpAddresses()
           
static Set<String> getMacAddresses()
           
static Set<String> getMacAddresses(String osName, InputStream processInputStream)
           
static byte[] getServerIdBytes()
           
static Map<String,String> getServerInfo()
           
static void registerOrder(javax.servlet.http.HttpServletRequest request)
           
static Map<String,Object> registerOrder(String orderUuid, String productEntryName, int maxServers)
           
static String sendRequest(String request)
           
static void writeServerProperties(byte[] serverIdBytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LICENSE_REPOSITORY_DIR

public static final String LICENSE_REPOSITORY_DIR

LICENSE_SERVER_URL

public static final String LICENSE_SERVER_URL
Constructor Detail

LicenseUtil

public LicenseUtil()
Method Detail

getClusterServerInfo

public static Map<String,String> getClusterServerInfo(String clusterNodeId)
                                               throws Exception
Throws:
Exception

getHostName

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()

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

Liferay 6.2-ce-ga5