com.p6spy.engine.spy
Class P6DataSourceFactory

java.lang.Object
  extended by com.p6spy.engine.spy.P6DataSourceFactory
All Implemented Interfaces:
ObjectFactory

public class P6DataSourceFactory
extends Object
implements ObjectFactory

Factory class for P6DataSource objects


Field Summary
protected  String dataSourceClassName
           
protected  String poolDataSourceName
           
 
Constructor Summary
P6DataSourceFactory()
           
 
Method Summary
 Object getObjectInstance(Object refObj, Name nm, Context ctx, Hashtable env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataSourceClassName

protected final String dataSourceClassName
See Also:
Constant Field Values

poolDataSourceName

protected final String poolDataSourceName
See Also:
Constant Field Values
Constructor Detail

P6DataSourceFactory

public P6DataSourceFactory()
Method Detail

getObjectInstance

public Object getObjectInstance(Object refObj,
                                Name nm,
                                Context ctx,
                                Hashtable env)
                         throws Exception
Specified by:
getObjectInstance in interface ObjectFactory
Throws:
Exception