tyrex.tm.impl
Class XAResourceHelperManager

java.lang.Object
  extended bytyrex.tm.impl.XAResourceHelperManager

final class XAResourceHelperManager
extends java.lang.Object

Class for creating and managing XAResourceHelper object.

Author:
Riad Mohammed

Field Summary
(package private) static java.lang.String _oracleXAExceptionClassName
          The name of the Oracle XAException class name.
 
Method Summary
(package private) static XAResourceHelper getHelper(javax.transaction.xa.XAException xaException)
          Get the XAResourceHelperManager for the specified XA exception.
(package private) static XAResourceHelper getHelper(javax.transaction.xa.XAResource xaResource)
          Get the XAResourceHelperManager for the specified xa resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_oracleXAExceptionClassName

static final java.lang.String _oracleXAExceptionClassName
The name of the Oracle XAException class name. The value is "oracle.jdbc.xa.OracleXAException".

See Also:
Constant Field Values
Method Detail

getHelper

static XAResourceHelper getHelper(javax.transaction.xa.XAResource xaResource)
Get the XAResourceHelperManager for the specified xa resource.

Parameters:
xaResource - the xa resource.
Returns:
the XAResourceHelper

getHelper

static XAResourceHelper getHelper(javax.transaction.xa.XAException xaException)
Get the XAResourceHelperManager for the specified XA exception. It is assumed the only the method XAResourceHelper.getXAErrorString() will be called on the returned object.

Parameters:
xaException - the XA exception.
Returns:
the XAResourceHelper


Original code is Copyright (c) 1999-2001, Intalio, Inc. All Rights Reserved. Contributions by MetaBoss team are Copyright (c) 2003-2005, Softaris Pty. Ltd. All Rights Reserved.