|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OSGiBootstrapProvider
An OSGiBootstrapProvider provides an OSGiFramework
Implementations would configure the OSGiFramework through some form of descriptor. Natively, the SPI provides an OSGiBootstrapProvider that is based on the Microkernel.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_BOOTSTRAP_BEANS
The default framework beans: jboss-osgi-bootstrap-beans.xml |
static java.lang.String |
DEFAULT_FRAMEWORK_BEANS
The default framework beans: jboss-osgi-beans.xml |
static java.lang.String |
DEFAULT_FRAMEWORK_NAME
The Framework bean name - jboss.osgi:service=Framework |
| Method Summary | |
|---|---|
void |
configure()
Configure this provider with the default configuration |
void |
configure(java.io.InputStream streamConfig)
Configure this provider from a given input stream |
void |
configure(java.lang.String resourceConfig)
Configure this provider from a given resource |
void |
configure(java.net.URL urlConfig)
Configure this provider from the given URL |
OSGiFramework |
getFramework()
Get the OSGiFramework that registerd with the default name |
OSGiFramework |
getFramework(java.lang.String name)
Get an OSGiFramework with a given name from this OSGiBootstrapProvider |
| Methods inherited from interface org.jboss.osgi.spi.framework.NamedInstanceProvider |
|---|
getInstance, getInstance |
| Field Detail |
|---|
static final java.lang.String DEFAULT_FRAMEWORK_NAME
static final java.lang.String DEFAULT_BOOTSTRAP_BEANS
static final java.lang.String DEFAULT_FRAMEWORK_BEANS
| Method Detail |
|---|
OSGiFramework getFramework()
java.lang.IllegalArgumentException - if this is not AttributeProvider instanceOSGiFramework getFramework(java.lang.String name)
name - the framework name
void configure()
void configure(java.net.URL urlConfig)
void configure(java.lang.String resourceConfig)
void configure(java.io.InputStream streamConfig)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||