|
Oracle | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XAResource
This is an optional interface that XA resource provider can implement to communicate extra information to the Transaction Manager.
Field Summary |
---|
Fields inherited from interface javax.transaction.xa.XAResource |
---|
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY |
Method Summary | |
---|---|
boolean |
detectedUnavailable()
Transaction Manager calls this method of the XA resource when it detects it to be unresponsive (i.e. |
int |
getDelistFlag()
Normally, the Transaction Manager determines the delist flag to be used for the XAResource.end() operations. |
Methods inherited from interface javax.transaction.xa.XAResource |
---|
commit, end, forget, getTransactionTimeout, isSameRM, prepare, recover, rollback, setTransactionTimeout, start |
Method Detail |
---|
int getDelistFlag()
boolean detectedUnavailable()
weblogic.transaction.TransactionManager
's
unregisterResource
method, followed by
registerResource
, or
registerStaticResource
, or
registerDynamicResource
.
If this interface is not implemented, the Transaction Manager
will mark the resource to be unhealthy once it detects it to be
unresponsive. Also, in this case, it is up to the resource
provider to refresh and re-register at appropriate time. If
nothing is done explicitly, the Transaction Manager will declare
the resource healthy again after MaxResourceUnavailableMillis.
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111 Copyright 1996,2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Part Number E13941-01 Oracle WebLogic Server 10.3.1 API Reference |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |