TransactionRefpublic class TransactionRef extends Reference Represents a reference address to a transaction. |
Fields Summary |
---|
public static final String | DEFAULT_FACTORYDefault factory for this reference. |
Constructors Summary |
---|
public TransactionRef()Resource Reference.
// ----------------------------------------------------------- Constructors
this(null, null);
| public TransactionRef(String factory, String factoryLocation)Resource Reference.
super("javax.transaction.UserTransaction", factory, factoryLocation);
|
Methods Summary |
---|
public java.lang.String | getFactoryClassName()Retrieves the class name of the factory of the object to which this
reference refers.
String factory = super.getFactoryClassName();
if (factory != null) {
return factory;
} else {
factory = System.getProperty(Context.OBJECT_FACTORIES);
if (factory != null) {
return null;
} else {
return DEFAULT_FACTORY;
}
}
|
|