com.liferay.portal.module.framework
Interface ModuleFramework
public interface ModuleFramework
addBundle
Object addBundle(String location)
throws PortalException
- Throws:
PortalException
addBundle
Object addBundle(String location,
InputStream inputStream)
throws PortalException
- Throws:
PortalException
getExtraPackageMap
Map<String,List<URL>> getExtraPackageMap()
getExtraPackageURLs
List<URL> getExtraPackageURLs()
getFramework
Object getFramework()
getState
String getState(long bundleId)
throws PortalException
- Throws:
PortalException
registerContext
void registerContext(Object context)
setBundleStartLevel
void setBundleStartLevel(long bundleId,
int startLevel)
throws PortalException
- Throws:
PortalException
startBundle
void startBundle(long bundleId)
throws PortalException
- Throws:
PortalException
startBundle
void startBundle(long bundleId,
int options)
throws PortalException
- Throws:
PortalException
startFramework
void startFramework()
throws Exception
- Throws:
Exception
startRuntime
void startRuntime()
throws Exception
- Throws:
Exception
stopBundle
void stopBundle(long bundleId)
throws PortalException
- Throws:
PortalException
stopBundle
void stopBundle(long bundleId,
int options)
throws PortalException
- Throws:
PortalException
stopFramework
void stopFramework()
throws Exception
- Throws:
Exception
stopRuntime
void stopRuntime()
throws Exception
- Throws:
Exception
uninstallBundle
void uninstallBundle(long bundleId)
throws PortalException
- Throws:
PortalException
updateBundle
void updateBundle(long bundleId)
throws PortalException
- Throws:
PortalException
updateBundle
void updateBundle(long bundleId,
InputStream inputStream)
throws PortalException
- Throws:
PortalException