| java.lang.Object org.ow2.easybeans.naming.pkg.java.javaURLContextFactory
javaURLContextFactory | public class javaURLContextFactory implements ObjectFactory(Code) | | Factory used when resolving lookup on java: namespace.
It has to be present in java.naming.factory.url.pkgs property.
author: Florent Benoit |
getObjectInstance | public Object getObjectInstance(Object url, Name name, Context ctx, Hashtable env) throws Exception(Code) | | an instance of javaURLContext for a java URL. If url is null, theresult is a context for resolving java URLs. If url is a URL, theresult 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 * throws: Exception - if this object factory encountered an exception whileattempting to create an object, and no other object factories areto be tried. |
|
|