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