Liferay 6.2-ce-ga5

com.liferay.portal.module.framework
Interface ModuleFramework


public interface ModuleFramework


Method Summary
 Object addBundle(String location)
           
 Object addBundle(String location, InputStream inputStream)
           
 Map<String,List<URL>> getExtraPackageMap()
           
 List<URL> getExtraPackageURLs()
           
 Object getFramework()
           
 String getState(long bundleId)
           
 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()
           
 void stopRuntime()
           
 void uninstallBundle(long bundleId)
           
 void updateBundle(long bundleId)
           
 void updateBundle(long bundleId, InputStream inputStream)
           
 

Method Detail

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

Liferay 6.2-ce-ga5