org.apache.aries.jndi
Class ContextProvider

java.lang.Object
  extended by 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)
           
 
Method Summary
 void close()
           
abstract  Context getContext()
           
 boolean isValid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextProvider

public ContextProvider(org.osgi.framework.BundleContext ctx,
                       org.osgi.framework.ServiceReference reference)
Method Detail

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.