| java.lang.Object org.objectweb.jonas.naming.java.javaURLContextFactory
javaURLContextFactory | public class javaURLContextFactory implements ObjectFactory(Code) | | Context factory for javaURLContext objects.
This factory will be used for all "java:..." urls provided as Name objects
for all JNDI operations.
author: Philippe Durieux author: Contributor(s): author: Philippe Coq Monolog |
getObjectInstance | public Object getObjectInstance(Object url, Name name, Context ctx, Hashtable env) throws Exception(Code) | | Returns an instance of javaURLContext for a java URL.
If url is null, the result is a context for resolving java URLs.
If url is a URL, the result is a context named by the URL.
Parameters: url - String with a "java:" prefix or null. Parameters: name - Name of context, relative to ctx, or null. Parameters: ctx - Context relative to which 'name' is named. Parameters: env - Environment to use when creating the context new created object. throws: Exception - if it fails. |
|
|