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