public class PersistenceAdapterSupport extends Object
| Modifier and Type | Class and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
PersistenceAdapterSupport() |
| Modifier and Type | Method and Description |
|---|---|
static List<org.apache.activemq.command.ActiveMQQueue> |
listQueues(PersistenceAdapter adapter)
Provides a means of querying the persistence adapter for a list of ActiveMQQueue instances.
|
static List<org.apache.activemq.command.ActiveMQQueue> |
listQueues(PersistenceAdapter adapter,
PersistenceAdapterSupport.DestinationMatcher matcher)
Provides a means of querying the persistence adapter for a list of ActiveMQQueue instances
that match some given search criteria.
|
static List<org.apache.activemq.command.SubscriptionInfo> |
listSubscriptions(PersistenceAdapter adapter,
String clientId)
Searches the set of subscriptions from the given persistence adapter and returns all those
that belong to the given ClientId value.
|
static List<org.apache.activemq.command.ActiveMQTopic> |
listTopics(PersistenceAdapter adapter)
Provides a means of querying the persistence adapter for a list of ActiveMQTopic instances.
|
static List<org.apache.activemq.command.ActiveMQTopic> |
listTopics(PersistenceAdapter adapter,
PersistenceAdapterSupport.DestinationMatcher matcher)
Provides a means of querying the persistence adapter for a list of ActiveMQTopic instances
that match some given search criteria.
|
public PersistenceAdapterSupport()
public static List<org.apache.activemq.command.SubscriptionInfo> listSubscriptions(PersistenceAdapter adapter, String clientId) throws IOException
adapter - the persistence adapter instance to search within.clientId - the client ID value used to filter the subscription set.IOException - if an error occurs while listing the stored subscriptions.public static List<org.apache.activemq.command.ActiveMQQueue> listQueues(PersistenceAdapter adapter) throws IOException
adapter - the persistence adapter instance to query.IOException - if an error occurs while reading the destinations.public static List<org.apache.activemq.command.ActiveMQQueue> listQueues(PersistenceAdapter adapter, PersistenceAdapterSupport.DestinationMatcher matcher) throws IOException
adapter - the persistence adapter instance to query.matcher - the DestinationMatcher instance used to find the target destinations.IOException - if an error occurs while reading the destinations.public static List<org.apache.activemq.command.ActiveMQTopic> listTopics(PersistenceAdapter adapter) throws IOException
adapter - the persistence adapter instance to query.IOException - if an error occurs while reading the destinations.public static List<org.apache.activemq.command.ActiveMQTopic> listTopics(PersistenceAdapter adapter, PersistenceAdapterSupport.DestinationMatcher matcher) throws IOException
adapter - the persistence adapter instance to query.matcher - the DestinationMatcher instance used to find the target destinations.IOException - if an error occurs while reading the destinations.Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.