org.openanzo.services.impl
Class CommandNotificationSelector

java.lang.Object
  extended by org.openanzo.services.impl.CommandNotificationSelector
All Implemented Interfaces:
INotificationSelector

public class CommandNotificationSelector
extends java.lang.Object
implements INotificationSelector

Example of a INotificationSelector that registers interest in statements added or deleted within the context of a given CommandType

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Constructor Summary
CommandNotificationSelector(java.lang.String commandType)
          Construct a new CommandNotificationSelector tracker.
 
Method Summary
 java.lang.String getMessageSelector()
          Get the JMS message selector corresponding to this INotificationSelector's definition
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandNotificationSelector

public CommandNotificationSelector(java.lang.String commandType)
Construct a new CommandNotificationSelector tracker.

Parameters:
commandType - the commandType being tracked.
Method Detail

getMessageSelector

public java.lang.String getMessageSelector()
Description copied from interface: INotificationSelector
Get the JMS message selector corresponding to this INotificationSelector's definition

Specified by:
getMessageSelector in interface INotificationSelector
Returns:
the JMS message selector corresponding to this INotificationSelector's definition


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.