org.jboss.osgi.spi.framework
Interface OSGiBootstrapProvider

All Known Implementing Classes:
PropertiesBootstrapProvider

public interface OSGiBootstrapProvider

An OSGiBootstrapProvider provides an OSGi Framework

Implementations would configure the OSGi Framework through some form of descriptor.

Since:
18-Jun-2008
Author:
thomas.diesler@jboss.com

Method Summary
 void configure()
          Configure this provider with the default configuration
 void configure(InputStream streamConfig)
          Configure this provider from a given input stream
 void configure(String resourceConfig)
          Configure this provider from a given resource
 void configure(URL urlConfig)
          Configure this provider from the given URL
 Framework getFramework()
          Get the configured OSGi Framework
 

Method Detail

getFramework

Framework getFramework()
Get the configured OSGi Framework

Returns:
The configured instance of a Framework

configure

void configure()
Configure this provider with the default configuration


configure

void configure(URL urlConfig)
Configure this provider from the given URL


configure

void configure(String resourceConfig)
Configure this provider from a given resource


configure

void configure(InputStream streamConfig)
Configure this provider from a given input stream



Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.