org.openmdx.kernel.naming.protocol.java
Class javaURLContextFactory

java.lang.Object
  extended by org.openmdx.kernel.naming.protocol.java.javaURLContextFactory
All Implemented Interfaces:
ObjectFactory

public class javaURLContextFactory
extends Object
implements ObjectFactory

java URL Context Factory


Field Summary
static String COMPONENT_CONTEXT
          The component context.
static String URL_PREFIX
          The URL prefix supported by this factory
static String URL_SCHEME
          The URL scheme supported by this factory
 
Constructor Summary
javaURLContextFactory()
           
 
Method Summary
static Context createContext(String contextName, ClassLoader classLoader)
          Creates a new context and assigns it to the specified class loader
 Object getObjectInstance(Object object, Name name, Context nameCtx, Hashtable environment)
          Crete a new Context's instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URL_SCHEME

public static final String URL_SCHEME
The URL scheme supported by this factory

See Also:
Constant Field Values

URL_PREFIX

public static final String URL_PREFIX
The URL prefix supported by this factory

See Also:
Constant Field Values

COMPONENT_CONTEXT

public static final String COMPONENT_CONTEXT
The component context.

See Also:
Constant Field Values
Constructor Detail

javaURLContextFactory

public javaURLContextFactory()
Method Detail

createContext

public static Context createContext(String contextName,
                                    ClassLoader classLoader)
Creates a new context and assigns it to the specified class loader

Parameters:
contextName -
classLoader -

getObjectInstance

public Object getObjectInstance(Object object,
                                Name name,
                                Context nameCtx,
                                Hashtable environment)
                         throws NamingException
Crete a new Context's instance.

Specified by:
getObjectInstance in interface ObjectFactory
Throws:
NamingException


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.