|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.osgi.spi.framework.FrameworkIntegrationBean
public abstract class FrameworkIntegrationBean
An abstraction of an OSGi Framework.
In addition to the standard Framework
this implementation also supports properties and initial bundle provisioning.
Constructor Summary | |
---|---|
FrameworkIntegrationBean()
|
Method Summary | |
---|---|
void |
create()
|
protected abstract Framework |
createFramework(Map<String,Object> properties)
Overwrite to create the framework |
List<URL> |
getAutoInstall()
|
List<URL> |
getAutoStart()
|
Bundle |
getBundle()
|
BundleContext |
getBundleContext()
|
Framework |
getFramework()
|
Map<String,Object> |
getProperties()
|
protected void |
registerSystemServices(BundleContext context)
Overwrite to register system services before bundles get installed. |
void |
setAutoInstall(List<URL> autoInstall)
|
void |
setAutoStart(List<URL> autoStart)
|
void |
setProperties(Map<String,Object> props)
|
void |
start()
|
void |
stop()
|
protected void |
unregisterSystemServices(BundleContext context)
Overwrite to unregister system services before bundles get installed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FrameworkIntegrationBean()
Method Detail |
---|
public Map<String,Object> getProperties()
public void setProperties(Map<String,Object> props)
public List<URL> getAutoInstall()
public void setAutoInstall(List<URL> autoInstall)
public List<URL> getAutoStart()
public void setAutoStart(List<URL> autoStart)
public Bundle getBundle()
public BundleContext getBundleContext()
public Framework getFramework()
public void create()
protected abstract Framework createFramework(Map<String,Object> properties)
public void start()
public void stop()
protected void registerSystemServices(BundleContext context)
protected void unregisterSystemServices(BundleContext context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |