Package org.apache.naming.factory
Class TransactionFactory
java.lang.Object
org.apache.naming.factory.FactoryBase
org.apache.naming.factory.TransactionFactory
- All Implemented Interfaces:
ObjectFactory
Object factory for User transactions.
- Author:
- Remy Maucherat
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectFactory
If a default factory is available for the given reference type, create the default factory.protected Object
If this reference is a link to another JNDI object, obtain that object.protected boolean
Determines if this factory supports processing the provided reference object.Methods inherited from class org.apache.naming.factory.FactoryBase
getObjectInstance
-
Constructor Details
-
TransactionFactory
public TransactionFactory()
-
-
Method Details
-
isReferenceTypeSupported
Description copied from class:FactoryBase
Determines if this factory supports processing the provided reference object.- Specified by:
isReferenceTypeSupported
in classFactoryBase
- Parameters:
obj
- The object to be processed- Returns:
true
if this factory can process the object, otherwisefalse
-
getDefaultFactory
Description copied from class:FactoryBase
If a default factory is available for the given reference type, create the default factory.- Specified by:
getDefaultFactory
in classFactoryBase
- Parameters:
ref
- The reference object to be processed- Returns:
- The default factory for the given reference object or
null
if no default factory exists.
-
getLinked
Description copied from class:FactoryBase
If this reference is a link to another JNDI object, obtain that object.- Specified by:
getLinked
in classFactoryBase
- Parameters:
ref
- The reference object to be processed- Returns:
- The linked object or
null
if linked objects are not supported by or not configured for this reference object
-