org.jboss.osgi.spi.framework
Class OSGiBootstrap

java.lang.Object
  extended by org.jboss.osgi.spi.framework.OSGiBootstrap

public class OSGiBootstrap
extends Object

The OSGiBootstrap is the entry point to obtain an OSGiBootstrapProvider. A OSGiBootstrapProvider is discovered in two stages.

  1. Read the bootstrap provider class name from a system property
  2. Read the bootstrap provider class name from a resource file
In both cases the key is the fully qalified name of the OSGiBootstrapProvider interface.

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

Constructor Summary
OSGiBootstrap()
           
 
Method Summary
static OSGiBootstrapProvider getBootstrapProvider()
          Get an instance of an OSGiBootstrapProvider.
static void main(String[] args)
          The main entry point
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiBootstrap

public OSGiBootstrap()
Method Detail

main

public static void main(String[] args)
The main entry point


getBootstrapProvider

public static OSGiBootstrapProvider getBootstrapProvider()
Get an instance of an OSGiBootstrapProvider.



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