com.ibm.as400.access
Class AS400JDBCObjectFactory

java.lang.Object
  |
  +--com.ibm.as400.access.AS400JDBCObjectFactory
All Implemented Interfaces:
javax.naming.spi.ObjectFactory

public class AS400JDBCObjectFactory
extends java.lang.Object
implements javax.naming.spi.ObjectFactory

The AS400JDBCObjectFactory is used by a JNDI service provider to reconstruct an object when it is retrieved from JNDI. The following classes implement the javax.naming.Referenceable interface.

See Also:
AS400JDBCDataSource, AS400JDBCConnectionPoolDataSource

Constructor Summary
AS400JDBCObjectFactory()
           
 
Method Summary
 java.lang.Object getObjectInstance(java.lang.Object referenceObject, javax.naming.Name name, javax.naming.Context nameContext, java.util.Hashtable environment)
          Returns the object requested.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AS400JDBCObjectFactory

public AS400JDBCObjectFactory()
Method Detail

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object referenceObject,
                                          javax.naming.Name name,
                                          javax.naming.Context nameContext,
                                          java.util.Hashtable environment)
                                   throws java.lang.Exception
Returns the object requested.
Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory
Parameters:
referenceObject - The object reference.
name - The object name.
nameContext - The context of the name.
environment - The environment.
Returns:
The object requested.
Throws:
java.lang.Exception - If an error occurs during object creation.