Liferay 7.0-ce-b4

com.liferay.portal.module.framework
Interface ModuleFramework


public interface ModuleFramework


Method Summary
 long addBundle(String location)
           
 long addBundle(String location, InputStream inputStream)
           
 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 updateBundle(long bundleId)
           
 void updateBundle(long bundleId, InputStream inputStream)
           
 

Method Detail

addBundle

long addBundle(String location)
               throws PortalException
Throws:
PortalException

addBundle

long addBundle(String location,
               InputStream inputStream)
               throws PortalException
Throws:
PortalException

getFramework

Object getFramework()

getState

String getState(long bundleId)
                throws PortalException
Throws:
PortalException

initFramework

void initFramework()
                   throws Exception
Throws:
Exception

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(long timeout)
                   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 7.0-ce-b4