com.liferay.portal.module.framework
Interface ModuleFramework
public interface ModuleFramework
addBundle
long addBundle(String location)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
addBundle
long addBundle(String location,
InputStream inputStream)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getFramework
Object getFramework()
getState
String getState(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
initFramework
void initFramework()
throws Exception
- Throws:
Exception
registerContext
void registerContext(Object context)
setBundleStartLevel
void setBundleStartLevel(long bundleId,
int startLevel)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
startBundle
void startBundle(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
startBundle
void startBundle(long bundleId,
int options)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
startFramework
void startFramework()
throws Exception
- Throws:
Exception
startRuntime
void startRuntime()
throws Exception
- Throws:
Exception
stopBundle
void stopBundle(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
stopBundle
void stopBundle(long bundleId,
int options)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
stopFramework
void stopFramework(long timeout)
throws Exception
- Throws:
Exception
stopRuntime
void stopRuntime()
throws Exception
- Throws:
Exception
uninstallBundle
void uninstallBundle(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
unregisterContext
void unregisterContext(Object context)
updateBundle
void updateBundle(long bundleId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateBundle
void updateBundle(long bundleId,
InputStream inputStream)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException