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
  • Constructor Details

  • Method Details

    • removeHeuristic

      public void removeHeuristic(com.swiftmq.jms.XidImpl xid) throws Exception
      Throws:
      Exception
    • hasHeuristic

      public boolean hasHeuristic(com.swiftmq.jms.XidImpl xid)
    • wasCommit

      public boolean wasCommit(com.swiftmq.jms.XidImpl xid)
    • getXids

      public List getXids()
    • addHeuristic

      public void addHeuristic(com.swiftmq.jms.XidImpl xid, boolean commit) throws Exception
      Throws:
      Exception
    • loadHeuristics

      public void loadHeuristics() throws Exception
      Throws:
      Exception
    • entityAdded

      public void entityAdded(com.swiftmq.mgmt.Entity parent, com.swiftmq.mgmt.Entity newEntity)
      Specified by:
      entityAdded in interface com.swiftmq.mgmt.EntityWatchListener
    • entityRemoved

      public void entityRemoved(com.swiftmq.mgmt.Entity entity, com.swiftmq.mgmt.Entity entity1)
      Specified by:
      entityRemoved in interface com.swiftmq.mgmt.EntityWatchListener
    • onEntityRemove

      public void onEntityRemove(com.swiftmq.mgmt.Entity parent, com.swiftmq.mgmt.Entity oldEntity) throws com.swiftmq.mgmt.EntityRemoveException
      Specified by:
      onEntityRemove in interface com.swiftmq.mgmt.EntityRemoveListener
      Overrides:
      onEntityRemove in class com.swiftmq.mgmt.EntityChangeAdapter
      Throws:
      com.swiftmq.mgmt.EntityRemoveException
    • close

      public void close()
    • toString

      public String toString()
      Overrides:
      toString in class Object