DODS 7.1 API

org.objectweb.jndi
Class DataSourceFactory

java.lang.Object
  extended by org.objectweb.jndi.DataSourceFactory
All Implemented Interfaces:
javax.naming.spi.ObjectFactory

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

Author:
jmesnil

Field Summary
static org.objectweb.transaction.jta.TMService jotm
           
 
Constructor Summary
DataSourceFactory()
           
 
Method Summary
static void clear()
          shuts down StandardXAPoolDataSource and Jotm
 java.lang.Object getObjectInstance(java.lang.Object obj, javax.naming.Name n, javax.naming.Context nameCtx, java.util.Hashtable environment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jotm

public static org.objectweb.transaction.jta.TMService jotm
Constructor Detail

DataSourceFactory

public DataSourceFactory()
Method Detail

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object obj,
                                          javax.naming.Name n,
                                          javax.naming.Context nameCtx,
                                          java.util.Hashtable environment)
                                   throws java.lang.Exception
Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory
Throws:
java.lang.Exception
See Also:
ObjectFactory.getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable)

clear

public static void clear()
shuts down StandardXAPoolDataSource and Jotm


DODS 7.1 API