public abstract class FrameworkIntegrationBean extends Object
Framework
this implementation also supports properties and initial bundle provisioning.Constructor and Description |
---|
FrameworkIntegrationBean() |
Modifier and Type | Method and Description |
---|---|
void |
create() |
protected abstract org.osgi.framework.launch.Framework |
createFramework(Map<String,Object> properties)
Overwrite to create the framework
|
List<URL> |
getAutoInstall() |
List<URL> |
getAutoStart() |
org.osgi.framework.Bundle |
getBundle() |
org.osgi.framework.BundleContext |
getBundleContext() |
org.osgi.framework.launch.Framework |
getFramework() |
Map<String,Object> |
getProperties() |
protected void |
registerSystemServices(org.osgi.framework.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(org.osgi.framework.BundleContext context)
Overwrite to unregister system services before bundles get installed.
|
public org.osgi.framework.Bundle getBundle()
public org.osgi.framework.BundleContext getBundleContext()
public org.osgi.framework.launch.Framework getFramework()
public void create()
protected abstract org.osgi.framework.launch.Framework createFramework(Map<String,Object> properties)
public void start()
public void stop()
protected void registerSystemServices(org.osgi.framework.BundleContext context)
protected void unregisterSystemServices(org.osgi.framework.BundleContext context)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.