Package org.apache.activemq.store
Interface PersistenceAdapterSupport.DestinationMatcher
- Enclosing class:
- PersistenceAdapterSupport
public static interface PersistenceAdapterSupport.DestinationMatcher
Provides an interface for a Destination matching object that can be used to
search for specific destinations from a persistence adapter.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(org.apache.activemq.command.ActiveMQDestination destination) Given a Destination object, return true if the destination matches some defined search criteria, false otherwise.
-
Method Details
-
matches
boolean matches(org.apache.activemq.command.ActiveMQDestination destination) Given a Destination object, return true if the destination matches some defined search criteria, false otherwise.- Parameters:
destination- the destination to inspect.- Returns:
- true if the destination matches the target criteria, false otherwise.
-