createTransactionPolicy
public TransactionPolicy createTransactionPolicy(TransactionType type)
throws SystemException,
ApplicationException
Creates and begins a TransactionPolicy for the specified TransactionType.
If this method returns successfully, the specfied transaction type is
active and must be committed.
- Specified by:
createTransactionPolicy
in interface TransactionPolicyFactory
- Parameters:
type
- the desired type of transaction
- Returns:
- the active TransactionPolicy
- Throws:
SystemException
- if an unrecoverable exception is encountered
ApplicationException
- if recoverable exception is encountered