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.PortalException
public static long addBundle(String location, InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public 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.PortalException
public static void initFramework() throws Exception
Exception
public 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.PortalException
public static void setModuleFramework(ModuleFramework moduleFramework)
public static void startBundle(long bundleId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void startBundle(long bundleId, int options) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void startFramework() throws Exception
Exception
public static void startRuntime() throws Exception
Exception
public static void stopBundle(long bundleId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void stopBundle(long bundleId, int options) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void stopFramework(long timeout) throws Exception
Exception
public static void stopRuntime() throws Exception
Exception
public static void uninstallBundle(long bundleId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unregisterContext(Object context)
public static void updateBundle(long bundleId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void updateBundle(long bundleId, InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException