|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.osgi.util.tracker.ServiceTracker
org.apache.servicemix.naming.OSGiInitialContextFactoryBuilder
public class OSGiInitialContextFactoryBuilder
An InitialContextFactoryBuilder which delegates to any InitialContextFactoryBuilder found in the OSGi registry.
| Field Summary |
|---|
| Fields inherited from class org.osgi.util.tracker.ServiceTracker |
|---|
context, filter |
| Constructor Summary | |
|---|---|
OSGiInitialContextFactoryBuilder(org.osgi.framework.BundleContext bundleContext,
Context osgiContext)
|
|
| Method Summary | |
|---|---|
Context |
createContext(Hashtable<?,?> env)
This method was borrowed from Aries. |
InitialContextFactory |
createInitialContextFactory(Hashtable<?,?> environment)
|
void |
destroy()
|
Context |
getInitialContext(Hashtable<?,?> environment)
|
| Methods inherited from class org.osgi.util.tracker.ServiceTracker |
|---|
addingService, close, getService, getService, getServiceReference, getServiceReferences, getServices, getTrackingCount, modifiedService, open, open, remove, removedService, size, waitForService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OSGiInitialContextFactoryBuilder(org.osgi.framework.BundleContext bundleContext,
Context osgiContext)
throws NamingException
NamingException| Method Detail |
|---|
public void destroy()
public InitialContextFactory createInitialContextFactory(Hashtable<?,?> environment)
throws NamingException
createInitialContextFactory in interface InitialContextFactoryBuilderNamingException
public Context getInitialContext(Hashtable<?,?> environment)
throws NamingException
getInitialContext in interface InitialContextFactoryNamingException
public Context createContext(Hashtable<?,?> env)
throws NamingException
env -
NamingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||