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.PortalExceptionlong addBundle(String location,
InputStream inputStream)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionURL getBundleResource(long bundleId,
String name)
Object getFramework()
String getState(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid initFramework()
throws Exception
Exceptionvoid registerContext(Object context)
void setBundleStartLevel(long bundleId,
int startLevel)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid startBundle(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid startBundle(long bundleId,
int options)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid startFramework()
throws Exception
Exceptionvoid startRuntime()
throws Exception
Exceptionvoid stopBundle(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid stopBundle(long bundleId,
int options)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid stopFramework(long timeout)
throws Exception
Exceptionvoid stopRuntime()
throws Exception
Exceptionvoid uninstallBundle(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid unregisterContext(Object context)
void updateBundle(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid updateBundle(long bundleId,
InputStream inputStream)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException