org.openmdx.kernel.naming.tomcat
Class DelegatingObjectFactory

java.lang.Object
  extended by org.openmdx.kernel.naming.tomcat.DelegatingObjectFactory
All Implemented Interfaces:
ObjectFactory

public class DelegatingObjectFactory
extends Object
implements ObjectFactory

This JNDI Object Factory delegates to a remote JNDI context


Field Summary
protected static String JNDI_NAME
          Delegate JNDI Name Configuration Entry
protected static String OBJECT_FACTORY
          Tomcat given Object Factory Configuration Entry
 
Constructor Summary
DelegatingObjectFactory()
          Constructor
 
Method Summary
 Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JNDI_NAME

protected static final String JNDI_NAME
Delegate JNDI Name Configuration Entry

See Also:
Constant Field Values

OBJECT_FACTORY

protected static final String OBJECT_FACTORY
Tomcat given Object Factory Configuration Entry

See Also:
Constant Field Values
Constructor Detail

DelegatingObjectFactory

public DelegatingObjectFactory()
Constructor

Method Detail

getObjectInstance

public Object getObjectInstance(Object obj,
                                Name name,
                                Context nameCtx,
                                Hashtable environment)
                         throws Exception
Specified by:
getObjectInstance in interface ObjectFactory
Throws:
Exception


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