com.softwareag.sagd.PMQServer
Class PMQFilterSimpleImpl

java.lang.Object
  extended by com.softwareag.sagd.PMQServer.PMQFilterSimpleImpl
All Implemented Interfaces:
PMQFilterInterface

public class PMQFilterSimpleImpl
extends java.lang.Object
implements PMQFilterInterface

Implements filter to select UOW with ID.

Version:
$Revision: 1.2 $

Constructor Summary
PMQFilterSimpleImpl(java.lang.String acceptableUOWID)
          Creates a filter for this ID.
 
Method Summary
 boolean accept(com.softwareag.entirex.aci.UnitofWork uow)
          Returns true to accept the UOW.
static void main(java.lang.String[] args)
          Call from command line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PMQFilterSimpleImpl

public PMQFilterSimpleImpl(java.lang.String acceptableUOWID)
Creates a filter for this ID.

Parameters:
acceptableUOWID - the UOW ID
Method Detail

accept

public boolean accept(com.softwareag.entirex.aci.UnitofWork uow)
Description copied from interface: PMQFilterInterface
Returns true to accept the UOW.

Specified by:
accept in interface PMQFilterInterface

main

public static void main(java.lang.String[] args)
Call from command line.



Copyright © 2004-2008 Software AG. All Rights Reserved.