|
JBoss Transaction 7.0.0 SPI 7.0.0.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XAResourceRecoveryRegistry
The transaction management system may require assistance from resource managers in order to recover crashed XA transactions. By registering an XAResourceRecovery instance with the XAResourceRecoveryRegistry, resource manager connectors provide a way for the recovery system to callback to them and obtain the necessary information. This is useful for e.g. JDBC connection pools or JCA connectors that don't want to expose connection parameters to the transaction system. The connectors are responsible for instantiating a connection and using it to instantiate a set of XAResources. These are then exposed to the recovery system via the registered XAResourceRecovery instance.
XAResourceRecovery
Method Summary | |
---|---|
void |
addXAResourceRecovery(XAResourceRecovery recovery)
Register an XAResourceRecovery instance with the transaction recovery system. |
void |
removeXAResourceRecovery(XAResourceRecovery recovery)
Unregister an XAResourceRecovery instance from the transaction recovery system. |
Method Detail |
---|
void addXAResourceRecovery(XAResourceRecovery recovery)
recovery
- The XAResourceRecovery instance to register.void removeXAResourceRecovery(XAResourceRecovery recovery)
recovery
- The XAResourceRecovery instance to unregister.
Implementations should fail silent if an attempt is made to unregister
an XAResourceRecovery instance that is not currently registered.
|
JBoss Transaction 7.0.0 SPI 7.0.0.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |