public abstract class BrokerFacadeSupport extends Object implements BrokerFacade
BrokerFacade| Constructor and Description |
|---|
BrokerFacadeSupport() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.activemq.broker.jmx.ConnectionViewMBean |
getConnection(String connectionName)
A specific connection to the broker.
|
Collection<org.apache.activemq.broker.jmx.ConnectionViewMBean> |
getConnections()
All connections to all transport connectors of the broker.
|
Collection<String> |
getConnections(String connectorName)
The names of all connections to a specific transport connectors of the
broker.
|
org.apache.activemq.broker.jmx.ConnectorViewMBean |
getConnector(String name)
A transport connectors.
|
Collection<String> |
getConnectors()
The names of all transport connectors of the broker (f.e.
|
Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> |
getConsumersOnConnection(String connectionName)
Returns all consumers of a connection.
|
protected org.apache.activemq.broker.jmx.DestinationViewMBean |
getDestinationByName(Collection<? extends org.apache.activemq.broker.jmx.DestinationViewMBean> collection,
String name) |
Collection<org.apache.activemq.broker.jmx.DurableSubscriptionViewMBean> |
getDurableTopicSubscribers()
Active durable subscribers to topics of the broker.
|
Collection<org.apache.activemq.broker.jmx.DurableSubscriptionViewMBean> |
getInactiveDurableTopicSubscribers()
Inactive durable subscribers to topics of the broker.
|
org.apache.activemq.broker.jmx.JobSchedulerViewMBean |
getJobScheduler()
Get the JobScheduler MBean
|
protected <T> Collection<T> |
getManagedObjects(ObjectName[] names,
Class<T> type) |
abstract org.apache.activemq.broker.jmx.ManagementContext |
getManagementContext() |
Collection<org.apache.activemq.broker.jmx.NetworkBridgeViewMBean> |
getNetworkBridges()
The brokers network bridges.
|
Collection<org.apache.activemq.broker.jmx.NetworkConnectorViewMBean> |
getNetworkConnectors()
The brokers network connectors.
|
Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> |
getNonDurableTopicSubscribers()
All active non-durable subscribers to a topic.
|
org.apache.activemq.broker.jmx.QueueViewMBean |
getQueue(String name)
Get the view of the queue with the specified name.
|
Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> |
getQueueConsumers(String queueName)
All active consumers of a queue.
|
Collection<org.apache.activemq.broker.jmx.ProducerViewMBean> |
getQueueProducers(String queueName)
All active producers to a queue.
|
Collection<org.apache.activemq.broker.jmx.QueueViewMBean> |
getQueues()
All queues known to the broker.
|
Collection<JobFacade> |
getScheduledJobs()
Get the JobScheduler MBean
|
org.apache.activemq.broker.jmx.TopicViewMBean |
getTopic(String name)
Get the view of the topic with the specified name.
|
Collection<org.apache.activemq.broker.jmx.ProducerViewMBean> |
getTopicProducers(String topicName)
All active producers to a topic.
|
Collection<org.apache.activemq.broker.jmx.TopicViewMBean> |
getTopics()
All topics known to the broker.
|
Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> |
getTopicSubscribers(String topicName)
All active non-durable subscribers to a topic.
|
boolean |
isJobSchedulerStarted() |
abstract Object |
newProxyInstance(ObjectName objectName,
Class interfaceClass,
boolean notificationBroadcaster) |
abstract Set |
queryNames(ObjectName name,
QueryExp query) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBrokerAdmin, getBrokerName, purgeQueuepublic BrokerFacadeSupport()
public abstract org.apache.activemq.broker.jmx.ManagementContext getManagementContext()
public abstract Set queryNames(ObjectName name, QueryExp query) throws Exception
Exceptionpublic abstract Object newProxyInstance(ObjectName objectName, Class interfaceClass, boolean notificationBroadcaster) throws Exception
Exceptionpublic Collection<org.apache.activemq.broker.jmx.QueueViewMBean> getQueues() throws Exception
BrokerFacadegetQueues in interface BrokerFacadenullExceptionpublic Collection<org.apache.activemq.broker.jmx.TopicViewMBean> getTopics() throws Exception
BrokerFacadegetTopics in interface BrokerFacadenullExceptionpublic Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> getTopicSubscribers(String topicName) throws Exception
BrokerFacadegetTopicSubscribers in interface BrokerFacadenullExceptionpublic Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> getNonDurableTopicSubscribers() throws Exception
BrokerFacadegetNonDurableTopicSubscribers in interface BrokerFacadenullExceptionpublic Collection<org.apache.activemq.broker.jmx.DurableSubscriptionViewMBean> getDurableTopicSubscribers() throws Exception
BrokerFacadegetDurableTopicSubscribers in interface BrokerFacadenullExceptionpublic Collection<org.apache.activemq.broker.jmx.DurableSubscriptionViewMBean> getInactiveDurableTopicSubscribers() throws Exception
BrokerFacadegetInactiveDurableTopicSubscribers in interface BrokerFacadenullExceptionpublic org.apache.activemq.broker.jmx.QueueViewMBean getQueue(String name) throws Exception
BrokerFacadegetQueue in interface BrokerFacadename - not nullnull if no queue with this name existsExceptionpublic org.apache.activemq.broker.jmx.TopicViewMBean getTopic(String name) throws Exception
BrokerFacadegetTopic in interface BrokerFacadename - not nullnull if no topic with this name existsExceptionprotected org.apache.activemq.broker.jmx.DestinationViewMBean getDestinationByName(Collection<? extends org.apache.activemq.broker.jmx.DestinationViewMBean> collection, String name)
protected <T> Collection<T> getManagedObjects(ObjectName[] names, Class<T> type) throws Exception
Exceptionpublic Collection<org.apache.activemq.broker.jmx.ConnectionViewMBean> getConnections() throws Exception
BrokerFacadegetConnections in interface BrokerFacadenullExceptionpublic Collection<String> getConnections(String connectorName) throws Exception
BrokerFacadegetConnections in interface BrokerFacadeconnectorName - not nullnullExceptionBrokerFacade.getConnection(String)public org.apache.activemq.broker.jmx.ConnectionViewMBean getConnection(String connectionName) throws Exception
BrokerFacadegetConnection in interface BrokerFacadeconnectionName - the name of the connection, not nullnullExceptionpublic Collection<String> getConnectors() throws Exception
BrokerFacadegetConnectors in interface BrokerFacadenullExceptionpublic org.apache.activemq.broker.jmx.ConnectorViewMBean getConnector(String name) throws Exception
BrokerFacadegetConnector in interface BrokerFacadename - name of the connector (f.e. openwire)null if not foundExceptionpublic Collection<org.apache.activemq.broker.jmx.NetworkConnectorViewMBean> getNetworkConnectors() throws Exception
BrokerFacadegetNetworkConnectors in interface BrokerFacadenullExceptionpublic Collection<org.apache.activemq.broker.jmx.NetworkBridgeViewMBean> getNetworkBridges() throws Exception
BrokerFacadegetNetworkBridges in interface BrokerFacadenullExceptionpublic Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> getQueueConsumers(String queueName) throws Exception
BrokerFacadegetQueueConsumers in interface BrokerFacadequeueName - the name of the queue, not nullnullExceptionpublic Collection<org.apache.activemq.broker.jmx.ProducerViewMBean> getQueueProducers(String queueName) throws Exception
BrokerFacadegetQueueProducers in interface BrokerFacadequeueName - the name of the queue, not nullnullExceptionpublic Collection<org.apache.activemq.broker.jmx.ProducerViewMBean> getTopicProducers(String topicName) throws Exception
BrokerFacadegetTopicProducers in interface BrokerFacadetopicName - the name of the topic, not nullnullExceptionpublic Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> getConsumersOnConnection(String connectionName) throws Exception
BrokerFacadegetConsumersOnConnection in interface BrokerFacadeconnectionName - the name of the connection, not nullnullExceptionpublic org.apache.activemq.broker.jmx.JobSchedulerViewMBean getJobScheduler() throws Exception
BrokerFacadegetJobScheduler in interface BrokerFacadeExceptionpublic Collection<JobFacade> getScheduledJobs() throws Exception
BrokerFacadegetScheduledJobs in interface BrokerFacadeExceptionpublic boolean isJobSchedulerStarted()
isJobSchedulerStarted in interface BrokerFacadeCopyright © 2005–2019 The Apache Software Foundation. All rights reserved.