Liferay 6.2.0-ce-rc3

com.liferay.portal.module.framework
Class DummyModuleFramework

java.lang.Object
  extended by com.liferay.portal.module.framework.DummyModuleFramework
All Implemented Interfaces:
ModuleFramework

public final class DummyModuleFramework
extends Object
implements ModuleFramework


Constructor Summary
DummyModuleFramework()
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyModuleFramework

public DummyModuleFramework()
Method Detail

addBundle

public Object addBundle(String location)
Specified by:
addBundle in interface ModuleFramework

addBundle

public Object addBundle(String location,
                        InputStream inputStream)
Specified by:
addBundle in interface ModuleFramework

getExtraPackageMap

public Map<String,List<URL>> getExtraPackageMap()
Specified by:
getExtraPackageMap in interface ModuleFramework

getExtraPackageURLs

public List<URL> getExtraPackageURLs()
Specified by:
getExtraPackageURLs in interface ModuleFramework

getFramework

public Object getFramework()
Specified by:
getFramework in interface ModuleFramework

getState

public String getState(long bundleId)
Specified by:
getState in interface ModuleFramework

registerContext

public void registerContext(Object context)
Specified by:
registerContext in interface ModuleFramework

setBundleStartLevel

public void setBundleStartLevel(long bundleId,
                                int startLevel)
Specified by:
setBundleStartLevel in interface ModuleFramework

startBundle

public void startBundle(long bundleId)
Specified by:
startBundle in interface ModuleFramework

startBundle

public void startBundle(long bundleId,
                        int options)
Specified by:
startBundle in interface ModuleFramework

startFramework

public void startFramework()
                    throws Exception
Specified by:
startFramework in interface ModuleFramework
Throws:
Exception

startRuntime

public void startRuntime()
                  throws Exception
Specified by:
startRuntime in interface ModuleFramework
Throws:
Exception

stopBundle

public void stopBundle(long bundleId)
Specified by:
stopBundle in interface ModuleFramework

stopBundle

public void stopBundle(long bundleId,
                       int options)
Specified by:
stopBundle in interface ModuleFramework

stopFramework

public void stopFramework()
                   throws Exception
Specified by:
stopFramework in interface ModuleFramework
Throws:
Exception

stopRuntime

public void stopRuntime()
                 throws Exception
Specified by:
stopRuntime in interface ModuleFramework
Throws:
Exception

uninstallBundle

public void uninstallBundle(long bundleId)
Specified by:
uninstallBundle in interface ModuleFramework

updateBundle

public void updateBundle(long bundleId)
Specified by:
updateBundle in interface ModuleFramework

updateBundle

public void updateBundle(long bundleId,
                         InputStream inputStream)
Specified by:
updateBundle in interface ModuleFramework

Liferay 6.2.0-ce-rc3