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, wait
getBrokerAdmin, getBrokerName, purgeQueue
public BrokerFacadeSupport()
public abstract org.apache.activemq.broker.jmx.ManagementContext getManagementContext()
public abstract Set queryNames(ObjectName name, QueryExp query) throws Exception
Exception
public abstract Object newProxyInstance(ObjectName objectName, Class interfaceClass, boolean notificationBroadcaster) throws Exception
Exception
public Collection<org.apache.activemq.broker.jmx.QueueViewMBean> getQueues() throws Exception
BrokerFacade
getQueues
in interface BrokerFacade
null
Exception
public Collection<org.apache.activemq.broker.jmx.TopicViewMBean> getTopics() throws Exception
BrokerFacade
getTopics
in interface BrokerFacade
null
Exception
public Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> getTopicSubscribers(String topicName) throws Exception
BrokerFacade
getTopicSubscribers
in interface BrokerFacade
null
Exception
public Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> getNonDurableTopicSubscribers() throws Exception
BrokerFacade
getNonDurableTopicSubscribers
in interface BrokerFacade
null
Exception
public Collection<org.apache.activemq.broker.jmx.DurableSubscriptionViewMBean> getDurableTopicSubscribers() throws Exception
BrokerFacade
getDurableTopicSubscribers
in interface BrokerFacade
null
Exception
public Collection<org.apache.activemq.broker.jmx.DurableSubscriptionViewMBean> getInactiveDurableTopicSubscribers() throws Exception
BrokerFacade
getInactiveDurableTopicSubscribers
in interface BrokerFacade
null
Exception
public org.apache.activemq.broker.jmx.QueueViewMBean getQueue(String name) throws Exception
BrokerFacade
getQueue
in interface BrokerFacade
name
- not null
null
if no queue with this name existsException
public org.apache.activemq.broker.jmx.TopicViewMBean getTopic(String name) throws Exception
BrokerFacade
getTopic
in interface BrokerFacade
name
- not null
null
if no topic with this name existsException
protected 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
Exception
public Collection<org.apache.activemq.broker.jmx.ConnectionViewMBean> getConnections() throws Exception
BrokerFacade
getConnections
in interface BrokerFacade
null
Exception
public Collection<String> getConnections(String connectorName) throws Exception
BrokerFacade
getConnections
in interface BrokerFacade
connectorName
- not null
null
Exception
BrokerFacade.getConnection(String)
public org.apache.activemq.broker.jmx.ConnectionViewMBean getConnection(String connectionName) throws Exception
BrokerFacade
getConnection
in interface BrokerFacade
connectionName
- the name of the connection, not null
null
Exception
public Collection<String> getConnectors() throws Exception
BrokerFacade
getConnectors
in interface BrokerFacade
null
Exception
public org.apache.activemq.broker.jmx.ConnectorViewMBean getConnector(String name) throws Exception
BrokerFacade
getConnector
in interface BrokerFacade
name
- name of the connector (f.e. openwire)null
if not foundException
public Collection<org.apache.activemq.broker.jmx.NetworkConnectorViewMBean> getNetworkConnectors() throws Exception
BrokerFacade
getNetworkConnectors
in interface BrokerFacade
null
Exception
public Collection<org.apache.activemq.broker.jmx.NetworkBridgeViewMBean> getNetworkBridges() throws Exception
BrokerFacade
getNetworkBridges
in interface BrokerFacade
null
Exception
public Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> getQueueConsumers(String queueName) throws Exception
BrokerFacade
getQueueConsumers
in interface BrokerFacade
queueName
- the name of the queue, not null
null
Exception
public Collection<org.apache.activemq.broker.jmx.ProducerViewMBean> getQueueProducers(String queueName) throws Exception
BrokerFacade
getQueueProducers
in interface BrokerFacade
queueName
- the name of the queue, not null
null
Exception
public Collection<org.apache.activemq.broker.jmx.ProducerViewMBean> getTopicProducers(String topicName) throws Exception
BrokerFacade
getTopicProducers
in interface BrokerFacade
topicName
- the name of the topic, not null
null
Exception
public Collection<org.apache.activemq.broker.jmx.SubscriptionViewMBean> getConsumersOnConnection(String connectionName) throws Exception
BrokerFacade
getConsumersOnConnection
in interface BrokerFacade
connectionName
- the name of the connection, not null
null
Exception
public org.apache.activemq.broker.jmx.JobSchedulerViewMBean getJobScheduler() throws Exception
BrokerFacade
getJobScheduler
in interface BrokerFacade
Exception
public Collection<JobFacade> getScheduledJobs() throws Exception
BrokerFacade
getScheduledJobs
in interface BrokerFacade
Exception
public boolean isJobSchedulerStarted()
isJobSchedulerStarted
in interface BrokerFacade
Copyright © 2005–2017 FuseSource, Corp.. All rights reserved.