org.apache.geronimo.naming.java
Class javaURLContextFactory
java.lang.Object
org.apache.geronimo.naming.java.javaURLContextFactory
- All Implemented Interfaces:
- ObjectFactory
- public class javaURLContextFactory
- extends Object
- implements ObjectFactory
URLContextFactory for the java: JNDI namespace.
- Version:
- $Revision: 1.3 $ $Date: 2004/03/10 09:59:08 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
javaURLContextFactory
public javaURLContextFactory()
getObjectInstance
public Object getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable environment)
throws Exception
- Return a Context that is able to resolve names in the java: namespace.
The root context, "java:" is always returned. This is a specific
implementation of a URLContextFactory and not a general ObjectFactory.
- Specified by:
getObjectInstance
in interface ObjectFactory
- Parameters:
obj
- must be nullname
- ignorednameCtx
- ignoredenvironment
- ignored
- Returns:
- the Context for "java:"
- Throws:
OperationNotSupportedException
- if obj is not null
Exception
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.