public class ModuleFrameworkUtilAdapter
extends Object
ModuleFrameworkClassLoader| Constructor and Description |
|---|
ModuleFrameworkUtilAdapter() |
| Modifier and Type | Method and Description |
|---|---|
static long |
addBundle(String location) |
static long |
addBundle(String location,
InputStream inputStream) |
static URL |
getBundleResource(long bundleId,
String name) |
static Object |
getFramework() |
static String |
getState(long bundleId) |
static void |
initFramework() |
static void |
registerContext(Object context) |
static void |
setBundleStartLevel(long bundleId,
int startLevel) |
static void |
setModuleFramework(ModuleFramework moduleFramework) |
static void |
startBundle(long bundleId) |
static void |
startBundle(long bundleId,
int options) |
static void |
startFramework() |
static void |
startRuntime() |
static void |
stopBundle(long bundleId) |
static void |
stopBundle(long bundleId,
int options) |
static void |
stopFramework(long timeout) |
static void |
stopRuntime() |
static void |
uninstallBundle(long bundleId) |
static void |
unregisterContext(Object context) |
static void |
updateBundle(long bundleId) |
static void |
updateBundle(long bundleId,
InputStream inputStream) |
public static long addBundle(String location)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static long addBundle(String location,
InputStream inputStream)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static URL getBundleResource(long bundleId,
String name)
public static Object getFramework()
public static String getState(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void initFramework()
throws Exception
Exceptionpublic static void registerContext(Object context)
public static void setBundleStartLevel(long bundleId,
int startLevel)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void setModuleFramework(ModuleFramework moduleFramework)
public static void startBundle(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void startBundle(long bundleId,
int options)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void startFramework()
throws Exception
Exceptionpublic static void startRuntime()
throws Exception
Exceptionpublic static void stopBundle(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void stopBundle(long bundleId,
int options)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void stopFramework(long timeout)
throws Exception
Exceptionpublic static void stopRuntime()
throws Exception
Exceptionpublic static void uninstallBundle(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void unregisterContext(Object context)
public static void updateBundle(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void updateBundle(long bundleId,
InputStream inputStream)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException