com.liferay.portal.module.framework
Class ModuleFrameworkUtilAdapter
java.lang.Object
com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter
public class ModuleFrameworkUtilAdapter
- extends Object
This class is a simple wrapper in order to make the framework module running
under its own classlaoder
- See Also:
ModuleFrameworkClassloader}
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModuleFrameworkUtilAdapter
public ModuleFrameworkUtilAdapter()
addBundle
public static Object addBundle(String location)
addBundle
public static Object addBundle(String location,
InputStream inputStream)
getFramework
public static Object getFramework()
getState
public static String getState(long bundleId)
registerContext
public static void registerContext(Object context)
setBundleStartLevel
public static void setBundleStartLevel(long bundleId,
int startLevel)
startBundle
public static void startBundle(long bundleId)
startBundle
public static void startBundle(long bundleId,
int options)
startFramework
public static void startFramework()
throws Exception
- Throws:
Exception
startRuntime
public static void startRuntime()
throws Exception
- Throws:
Exception
stopBundle
public static void stopBundle(long bundleId)
stopBundle
public static void stopBundle(long bundleId,
int options)
stopFramework
public static void stopFramework()
throws Exception
- Throws:
Exception
stopRuntime
public static void stopRuntime()
throws Exception
- Throws:
Exception
uninstallBundle
public static void uninstallBundle(long bundleId)
updateBundle
public static void updateBundle(long bundleId)
updateBundle
public static void updateBundle(long bundleId,
InputStream inputStream)