org.objectweb.jonas.naming.java.javaURLContextFactory Class Reference

List of all members.

Public Member Functions

Object getObjectInstance (Object url, Name name, Context ctx, Hashtable env) throws Exception

Detailed Description

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 Contributor(s): Philippe Coq Monolog

Definition at line 45 of file javaURLContextFactory.java.


Member Function Documentation

Object org.objectweb.jonas.naming.java.javaURLContextFactory.getObjectInstance Object  url,
Name  name,
Context  ctx,
Hashtable  env
throws Exception
 

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.
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
Returns:
new created object.
Exceptions:
Exception if it fails.

Definition at line 65 of file javaURLContextFactory.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:07:16 2005 for JOnAS by  doxygen 1.3.9.1