org.apache.aries.jndi
Class SingleContextProvider

java.lang.Object
  extended by org.apache.aries.jndi.ContextProvider
      extended by org.apache.aries.jndi.SingleContextProvider

public class SingleContextProvider
extends ContextProvider


Constructor Summary
SingleContextProvider(org.osgi.framework.BundleContext bc, org.osgi.framework.ServiceReference ref, Context ctx)
           
 
Method Summary
 void close()
           
 Context getContext()
           
 
Methods inherited from class org.apache.aries.jndi.ContextProvider
isValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleContextProvider

public SingleContextProvider(org.osgi.framework.BundleContext bc,
                             org.osgi.framework.ServiceReference ref,
                             Context ctx)
Method Detail

getContext

public Context getContext()
Specified by:
getContext in class ContextProvider

close

public void close()
           throws NamingException
Overrides:
close in class ContextProvider
Throws:
NamingException


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.