Class ModuleFrameworkUtil

Object
com.liferay.portal.module.framework.ModuleFrameworkUtil

public class ModuleFrameworkUtil extends Object
This class is a simple wrapper in order to make the framework module running under its own class loader.
Author:
Miguel Pastor, Raymond Augé
See Also:
  • ModuleFrameworkClassLoader
  • Constructor Details

    • ModuleFrameworkUtil

      public ModuleFrameworkUtil()
  • Method Details

    • createFramework

      public static org.osgi.framework.launch.Framework createFramework() throws Exception
      Throws:
      Exception
    • getFramework

      public static org.osgi.framework.launch.Framework getFramework()
    • initFramework

      public static void initFramework() throws Exception
      Throws:
      Exception
    • registerContext

      public static void registerContext(Object context)
    • startFramework

      public static void startFramework() throws Exception
      Throws:
      Exception
    • stopFramework

      public static void stopFramework(long timeout) throws Exception
      Throws:
      Exception
    • unregisterContext

      public static void unregisterContext(Object context)