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.
- Specified by:
getObjectInstance
in interface ObjectFactory
- Parameters:
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
- Throws:
Exception