fr.dyade.aaa.jndi2.scn
Class scnURLContextFactory
java.lang.Object
fr.dyade.aaa.jndi2.scn.scnURLContextFactory
- ObjectFactory
public class scnURLContextFactory
extends java.lang.Object
implements ObjectFactory
Context factory for scnURLContext objects.
This factory will be used for all "scn:..." urls provided as Name objects
for all JNDI operations.
Object | getObjectInstance(Object url, Name name, Context ctx, Hashtable env) - Returns an instance of scnURLContext for a java URL.
|
logger
public static final Logger logger
getObjectInstance
public Object getObjectInstance(Object url,
Name name,
Context ctx,
Hashtable env)
throws Exception
Returns an instance of scnURLContext 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.
url
- String with a "scn:" prefix or null.name
- Name of context, relative to ctx, or null.ctx
- Context relative to which 'name' is named.env
- Environment to use when creating the context
Copyright B) 2004 Scalagent - All rights reserved