Package org.postgresql.xa
Class PGXADataSourceFactory
java.lang.Object
org.postgresql.ds.common.PGObjectFactory
org.postgresql.xa.PGXADataSourceFactory
- All Implemented Interfaces:
ObjectFactory
An ObjectFactory implementation for PGXADataSource-objects.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.postgresql.ds.common.PGObjectFactory
getProperty, loadBaseDataSource
-
Constructor Details
-
PGXADataSourceFactory
public PGXADataSourceFactory()
-
-
Method Details
-
getObjectInstance
public @Nullable Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) throws ExceptionDescription copied from class:PGObjectFactory
Dereferences a PostgreSQL DataSource. Other types of references are ignored.- Specified by:
getObjectInstance
in interfaceObjectFactory
- Overrides:
getObjectInstance
in classPGObjectFactory
- Throws:
Exception
-