public abstract class BrokerFacadeSupport extends java.lang.Object implements BrokerFacade
BrokerFacade| Constructor and Description |
|---|
BrokerFacadeSupport() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionViewFacade |
getConnection(java.lang.String connectionName)
A specific connection to the broker.
|
java.util.Collection<ConnectionViewFacade> |
getConnections()
All connections to all transport connectors of the broker.
|
java.util.Collection<java.lang.String> |
getConnections(java.lang.String connectorName)
The names of all connections to a specific transport connectors of the
broker.
|
ConnectorViewFacade |
getConnector(java.lang.String name)
A transport connectors.
|
java.util.Collection<java.lang.String> |
getConnectors()
The names of all transport connectors of the broker (f.e.
|
java.util.Collection<SubscriptionViewFacade> |
getConsumersOnConnection(java.lang.String connectionName)
Returns all consumers of a connection.
|
protected org.apache.activemq.broker.jmx.DestinationViewMBean |
getDestinationByName(java.util.Collection<? extends org.apache.activemq.broker.jmx.DestinationViewMBean> collection,
java.lang.String name) |
java.util.Collection<DurableSubscriptionViewFacade> |
getDurableTopicSubscribers()
Active durable subscribers to topics of the broker.
|
java.util.Collection<DurableSubscriptionViewFacade> |
getInactiveDurableTopicSubscribers()
Inactive durable subscribers to topics of the broker.
|
JobSchedulerViewFacade |
getJobScheduler()
Get the JobScheduler MBean
|
protected <T> java.util.Collection<T> |
getManagedObjects(javax.management.ObjectName[] names,
java.lang.Class<?> type,
java.lang.Class<T> type2) |
abstract org.apache.activemq.broker.jmx.ManagementContext |
getManagementContext() |
java.util.Collection<NetworkBridgeViewFacade> |
getNetworkBridges()
The brokers network bridges.
|
java.util.Collection<NetworkConnectorViewFacade> |
getNetworkConnectors()
The brokers network connectors.
|
QueueViewFacade |
getQueue(java.lang.String name)
Get the view of the queue with the specified name.
|
java.util.Collection<SubscriptionViewFacade> |
getQueueConsumers(java.lang.String queueName)
All active consumers of a queue.
|
java.util.Collection<ProducerViewFacade> |
getQueueProducers(java.lang.String queueName)
Returns the producers available on the given queue
|
java.util.Collection<QueueViewFacade> |
getQueues()
All queues known to the broker.
|
java.util.Collection<JobFacade> |
getScheduledJobs()
Get the JobScheduler MBean
|
TopicViewFacade |
getTopic(java.lang.String name)
Get the view of the topic with the specified name.
|
java.util.Collection<SubscriptionViewFacade> |
getTopicConsumers(java.lang.String topicName)
Returns the consumers available on the given topic
|
java.util.Collection<DurableSubscriptionViewFacade> |
getTopicDurableConsumers(java.lang.String topicName)
Returns the durable consumers available on the given topic
|
java.util.Collection<ProducerViewFacade> |
getTopicProducers(java.lang.String topicName)
Returns the producers available on the given topic
|
java.util.Collection<TopicViewFacade> |
getTopics()
All topics known to the broker.
|
boolean |
isJobSchedulerStarted() |
abstract java.lang.Object |
newProxyInstance(javax.management.ObjectName objectName,
java.lang.Class interfaceClass,
boolean notificationBroadcaster) |
static <T> T |
proxy(java.lang.Class<T> ic,
java.lang.Object target,
java.lang.String id) |
abstract java.util.Set |
queryNames(javax.management.ObjectName name,
javax.management.QueryExp query) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBrokerAdmin, getBrokerName, getBrokers, getId, purgeQueuepublic abstract org.apache.activemq.broker.jmx.ManagementContext getManagementContext()
public abstract java.util.Set queryNames(javax.management.ObjectName name,
javax.management.QueryExp query)
throws java.lang.Exception
java.lang.Exceptionpublic abstract java.lang.Object newProxyInstance(javax.management.ObjectName objectName,
java.lang.Class interfaceClass,
boolean notificationBroadcaster)
throws java.lang.Exception
java.lang.Exceptionpublic static <T> T proxy(java.lang.Class<T> ic,
java.lang.Object target,
java.lang.String id)
throws java.lang.Exception
java.lang.Exceptionpublic java.util.Collection<QueueViewFacade> getQueues() throws java.lang.Exception
BrokerFacadegetQueues in interface BrokerFacadenulljava.lang.Exceptionpublic java.util.Collection<TopicViewFacade> getTopics() throws java.lang.Exception
BrokerFacadegetTopics in interface BrokerFacadenulljava.lang.Exceptionpublic java.util.Collection<DurableSubscriptionViewFacade> getDurableTopicSubscribers() throws java.lang.Exception
BrokerFacadegetDurableTopicSubscribers in interface BrokerFacadenulljava.lang.Exceptionpublic java.util.Collection<DurableSubscriptionViewFacade> getInactiveDurableTopicSubscribers() throws java.lang.Exception
BrokerFacadegetInactiveDurableTopicSubscribers in interface BrokerFacadenulljava.lang.Exceptionpublic QueueViewFacade getQueue(java.lang.String name) throws java.lang.Exception
BrokerFacadegetQueue in interface BrokerFacadename - not nullnull if no queue with this name existsjava.lang.Exceptionpublic TopicViewFacade getTopic(java.lang.String name) throws java.lang.Exception
BrokerFacadegetTopic in interface BrokerFacadename - not nullnull if no topic with this name existsjava.lang.Exceptionprotected org.apache.activemq.broker.jmx.DestinationViewMBean getDestinationByName(java.util.Collection<? extends org.apache.activemq.broker.jmx.DestinationViewMBean> collection,
java.lang.String name)
protected <T> java.util.Collection<T> getManagedObjects(javax.management.ObjectName[] names,
java.lang.Class<?> type,
java.lang.Class<T> type2)
throws java.lang.Exception
java.lang.Exceptionpublic java.util.Collection<ConnectionViewFacade> getConnections() throws java.lang.Exception
BrokerFacadegetConnections in interface BrokerFacadenulljava.lang.Exceptionpublic java.util.Collection<java.lang.String> getConnections(java.lang.String connectorName)
throws java.lang.Exception
BrokerFacadegetConnections in interface BrokerFacadeconnectorName - not nullnulljava.lang.ExceptionBrokerFacade.getConnection(String)public ConnectionViewFacade getConnection(java.lang.String connectionName) throws java.lang.Exception
BrokerFacadegetConnection in interface BrokerFacadeconnectionName - the name of the connection, not nullnulljava.lang.Exceptionpublic java.util.Collection<java.lang.String> getConnectors()
throws java.lang.Exception
BrokerFacadegetConnectors in interface BrokerFacadenulljava.lang.Exceptionpublic ConnectorViewFacade getConnector(java.lang.String name) throws java.lang.Exception
BrokerFacadegetConnector in interface BrokerFacadename - name of the connector (f.e. openwire)null if not foundjava.lang.Exceptionpublic java.util.Collection<NetworkConnectorViewFacade> getNetworkConnectors() throws java.lang.Exception
BrokerFacadegetNetworkConnectors in interface BrokerFacadenulljava.lang.Exceptionpublic java.util.Collection<NetworkBridgeViewFacade> getNetworkBridges() throws java.lang.Exception
BrokerFacadegetNetworkBridges in interface BrokerFacadenulljava.lang.Exceptionpublic java.util.Collection<SubscriptionViewFacade> getQueueConsumers(java.lang.String queueName) throws java.lang.Exception
BrokerFacadegetQueueConsumers in interface BrokerFacadequeueName - the name of the queue, not nullnulljava.lang.Exceptionpublic java.util.Collection<SubscriptionViewFacade> getTopicConsumers(java.lang.String topicName) throws java.lang.Exception
BrokerFacadegetTopicConsumers in interface BrokerFacadejava.lang.Exceptionpublic java.util.Collection<DurableSubscriptionViewFacade> getTopicDurableConsumers(java.lang.String topicName) throws java.lang.Exception
BrokerFacadegetTopicDurableConsumers in interface BrokerFacadejava.lang.Exceptionpublic java.util.Collection<ProducerViewFacade> getQueueProducers(java.lang.String queueName) throws java.lang.Exception
BrokerFacadegetQueueProducers in interface BrokerFacadejava.lang.Exceptionpublic java.util.Collection<ProducerViewFacade> getTopicProducers(java.lang.String topicName) throws java.lang.Exception
BrokerFacadegetTopicProducers in interface BrokerFacadejava.lang.Exceptionpublic java.util.Collection<SubscriptionViewFacade> getConsumersOnConnection(java.lang.String connectionName) throws java.lang.Exception
BrokerFacadegetConsumersOnConnection in interface BrokerFacadeconnectionName - the name of the connection, not nullnulljava.lang.Exceptionpublic JobSchedulerViewFacade getJobScheduler() throws java.lang.Exception
BrokerFacadegetJobScheduler in interface BrokerFacadejava.lang.Exceptionpublic java.util.Collection<JobFacade> getScheduledJobs() throws java.lang.Exception
BrokerFacadegetScheduledJobs in interface BrokerFacadejava.lang.Exceptionpublic boolean isJobSchedulerStarted()
isJobSchedulerStarted in interface BrokerFacadeCopyright © 2014 Red Hat. All Rights Reserved.