tyrex.tm.impl

Class XAResourceHelperManager

final class XAResourceHelperManager extends Object

Class for creating and managing XAResourceHelper object.

Author: Riad Mohammed

Field Summary
static String_oracleXAExceptionClassName
The name of the Oracle XAException class name.
Method Summary
static XAResourceHelpergetHelper(XAResource xaResource)
Get the XAResourceHelperManager for the specified xa resource.
static XAResourceHelpergetHelper(XAException xaException)
Get the XAResourceHelperManager for the specified XA exception.

Field Detail

_oracleXAExceptionClassName

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

Method Detail

getHelper

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

Parameters: xaResource the xa resource.

Returns: the XAResourceHelper

getHelper

static XAResourceHelper getHelper(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.