| 
 | Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 | ||||||||||
| 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 | |
|---|---|
| static int | TMCLUSTERSCAN | 
| static int | TMCLUSTERSCANPASSTHROUGH | 
| 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 | 
| Field Detail | 
|---|
static final int TMCLUSTERSCAN
static final int TMCLUSTERSCANPASSTHROUGH
| 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.
| 
 | Copyright 1996, 2014, 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. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||