Class LicenseUtil

Object
com.liferay.portal.util.LicenseUtil

public class LicenseUtil extends Object
Author:
Amos Fong
  • Field Details

    • LICENSE_REPOSITORY_DIR

      public static final String LICENSE_REPOSITORY_DIR
    • LICENSE_SERVER_URL

      public static final String LICENSE_SERVER_URL
  • Constructor Details

    • LicenseUtil

      public LicenseUtil()
  • Method Details

    • getClusterServerInfo

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

      public static Set<String> getIpAddresses()
    • getMacAddresses

      public static Set<String> getMacAddresses()
    • getProcessorCores

      public static int getProcessorCores()
    • 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 httpServletRequest)
    • 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