Class HeuristicHandler
java.lang.Object
com.swiftmq.mgmt.EntityChangeAdapter
com.swiftmq.impl.xa.standard.HeuristicHandler
- All Implemented Interfaces:
com.swiftmq.mgmt.EntityAddListener, com.swiftmq.mgmt.EntityRemoveListener, com.swiftmq.mgmt.EntityWatchListener
public class HeuristicHandler
extends com.swiftmq.mgmt.EntityChangeAdapter
implements com.swiftmq.mgmt.EntityWatchListener
-
Field Summary
Fields inherited from class com.swiftmq.mgmt.EntityChangeAdapter
configObject -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHeuristic(com.swiftmq.jms.XidImpl xid, boolean commit) voidclose()voidentityAdded(com.swiftmq.mgmt.Entity parent, com.swiftmq.mgmt.Entity newEntity) voidentityRemoved(com.swiftmq.mgmt.Entity entity, com.swiftmq.mgmt.Entity entity1) getXids()booleanhasHeuristic(com.swiftmq.jms.XidImpl xid) voidvoidonEntityRemove(com.swiftmq.mgmt.Entity parent, com.swiftmq.mgmt.Entity oldEntity) voidremoveHeuristic(com.swiftmq.jms.XidImpl xid) toString()booleanwasCommit(com.swiftmq.jms.XidImpl xid) Methods inherited from class com.swiftmq.mgmt.EntityChangeAdapter
onConfigurationAdd, onEntityAdd
-
Constructor Details
-
HeuristicHandler
-
-
Method Details
-
removeHeuristic
-
hasHeuristic
public boolean hasHeuristic(com.swiftmq.jms.XidImpl xid) -
wasCommit
public boolean wasCommit(com.swiftmq.jms.XidImpl xid) -
getXids
-
addHeuristic
-
loadHeuristics
-
entityAdded
public void entityAdded(com.swiftmq.mgmt.Entity parent, com.swiftmq.mgmt.Entity newEntity) - Specified by:
entityAddedin interfacecom.swiftmq.mgmt.EntityWatchListener
-
entityRemoved
public void entityRemoved(com.swiftmq.mgmt.Entity entity, com.swiftmq.mgmt.Entity entity1) - Specified by:
entityRemovedin interfacecom.swiftmq.mgmt.EntityWatchListener
-
onEntityRemove
public void onEntityRemove(com.swiftmq.mgmt.Entity parent, com.swiftmq.mgmt.Entity oldEntity) throws com.swiftmq.mgmt.EntityRemoveException - Specified by:
onEntityRemovein interfacecom.swiftmq.mgmt.EntityRemoveListener- Overrides:
onEntityRemovein classcom.swiftmq.mgmt.EntityChangeAdapter- Throws:
com.swiftmq.mgmt.EntityRemoveException
-
close
public void close() -
toString
-