org.apache.aries.jndi
Class ContextProvider
java.lang.Object
org.apache.aries.jndi.ContextProvider
- Direct Known Subclasses:
- SingleContextProvider, URLContextProvider
public abstract class ContextProvider
- extends Object
Constructor Summary |
ContextProvider(org.osgi.framework.BundleContext ctx,
org.osgi.framework.ServiceReference reference)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextProvider
public ContextProvider(org.osgi.framework.BundleContext ctx,
org.osgi.framework.ServiceReference reference)
isValid
public boolean isValid()
close
public void close()
throws NamingException
- Throws:
NamingException
getContext
public abstract Context getContext()
throws NamingException
- Throws:
NamingException
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.