oracle.xdb.spi
Class XDBContextFactory
java.lang.Object
|
+--oracle.xdb.spi.XDBContextFactory
- All Implemented Interfaces:
- javax.naming.spi.InitialContextFactory
- public class XDBContextFactory
- extends java.lang.Object
- implements javax.naming.spi.InitialContextFactory
Method Summary |
javax.naming.Context |
getInitialContext(java.util.Hashtable env)
Retrieves the Initial Context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RETURN_OBJECT_TYPE
public static java.lang.String RETURN_OBJECT_TYPE
RETURN_TYPE_RESOURCE
public static java.lang.String RETURN_TYPE_RESOURCE
ENV_CONNECTION
public static java.lang.String ENV_CONNECTION
XDBContextFactory
public XDBContextFactory()
getInitialContext
public javax.naming.Context getInitialContext(java.util.Hashtable env)
throws javax.naming.NamingException
- Retrieves the Initial Context. If the environment specifies that the return object type is Resource then a resource class is instantiated else a Context is instantiated
-
- Specified by:
getInitialContext
in interface javax.naming.spi.InitialContextFactory
-
- Parameters:
env
- The environment to be used for context creation
- Returns:
- the Initial Context; the initial context will always be a context i.e. not a resource
- Throws:
javax.naming.NameNotFoundException
- name not found
javax.naming.NamingException
- other naming exception
- See Also:
XDBDocument
Copyright © 2003, 2004, Oracle. All rights reserved.