org.apache.aries.jndi
Class ContextManagerService

java.lang.Object
  extended by org.apache.aries.jndi.ContextManagerService
All Implemented Interfaces:
org.osgi.service.jndi.JNDIContextManager

public class ContextManagerService
extends Object
implements org.osgi.service.jndi.JNDIContextManager


Constructor Summary
ContextManagerService(org.osgi.framework.BundleContext callerContext)
           
 
Method Summary
 void close()
           
 Context newInitialContext()
           
 Context newInitialContext(Map<?,?> environment)
           
 DirContext newInitialDirContext()
           
 DirContext newInitialDirContext(Map<?,?> environment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextManagerService

public ContextManagerService(org.osgi.framework.BundleContext callerContext)
Method Detail

close

public void close()

newInitialContext

public Context newInitialContext()
                          throws NamingException
Specified by:
newInitialContext in interface org.osgi.service.jndi.JNDIContextManager
Throws:
NamingException

newInitialContext

public Context newInitialContext(Map<?,?> environment)
                          throws NamingException
Specified by:
newInitialContext in interface org.osgi.service.jndi.JNDIContextManager
Throws:
NamingException

newInitialDirContext

public DirContext newInitialDirContext()
                                throws NamingException
Specified by:
newInitialDirContext in interface org.osgi.service.jndi.JNDIContextManager
Throws:
NamingException

newInitialDirContext

public DirContext newInitialDirContext(Map<?,?> environment)
                                throws NamingException
Specified by:
newInitialDirContext in interface org.osgi.service.jndi.JNDIContextManager
Throws:
NamingException


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