Class LicenseManagerUtil

Object
com.liferay.portal.kernel.license.util.LicenseManagerUtil

public class LicenseManagerUtil extends Object
Author:
Amos Fong
  • Constructor Details

    • LicenseManagerUtil

      public LicenseManagerUtil()
  • Method Details

    • checkLicense

      public static void checkLicense(String productId)
    • getClusterLicenseProperties

      public static List<Map<String,String>> getClusterLicenseProperties(String clusterNodeId)
    • getHostName

      public static String getHostName()
    • getIpAddresses

      public static Set<String> getIpAddresses()
    • getLicenseInfo

      public static LicenseInfo getLicenseInfo(String productId)
    • getLicenseManager

      public static LicenseManager getLicenseManager()
    • getLicenseProperties

      public static List<Map<String,String>> getLicenseProperties()
    • getLicenseProperties

      public static Map<String,String> getLicenseProperties(String productId)
    • getLicenseState

      public static int getLicenseState(Map<String,String> licenseProperties)
    • getLicenseState

      public static int getLicenseState(String productId)
    • getMacAddresses

      public static Set<String> getMacAddresses()
    • registerLicense

      public static void registerLicense(JSONObject jsonObject) throws Exception
      Throws:
      Exception
    • setLicenseManager

      public void setLicenseManager(LicenseManager licenseManager)