org.activemq.filter
Class CompositeDestinationFilter

java.lang.Object
  extended by org.activemq.filter.DestinationFilter
      extended by org.activemq.filter.CompositeDestinationFilter
All Implemented Interfaces:
Filter

public class CompositeDestinationFilter
extends DestinationFilter

A DestinationFilter used for composite destinations

Version:
$Revision: 1.1.1.1 $

Field Summary
 
Fields inherited from class org.activemq.filter.DestinationFilter
ANY_CHILD, ANY_DESCENDENT
 
Constructor Summary
CompositeDestinationFilter(ActiveMQDestination destination)
           
 
Method Summary
 boolean isWildcard()
           
 boolean matches(Destination destination)
           
 
Methods inherited from class org.activemq.filter.DestinationFilter
matches, parseFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeDestinationFilter

public CompositeDestinationFilter(ActiveMQDestination destination)
Method Detail

matches

public boolean matches(Destination destination)
Specified by:
matches in class DestinationFilter

isWildcard

public boolean isWildcard()
Returns:
return true if this filter is a wildcard filter and so can match multiple destinations


Copyright © 2004-2008 Protique, Ltd.. All Rights Reserved.