public abstract class BrokerFacadeSupport extends java.lang.Object implements BrokerFacade
BrokerFacade| Constructor and Description |
|---|
BrokerFacadeSupport() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionViewMBean |
getConnection(java.lang.String connectionName)
A specific connection to the broker.
|
java.util.Collection<ConnectionViewMBean> |
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.
|
ConnectorViewMBean |
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<SubscriptionViewMBean> |
getConsumersOnConnection(java.lang.String connectionName)
Returns all consumers of a connection.
|
protected DestinationViewMBean |
getDestinationByName(java.util.Collection<? extends DestinationViewMBean> collection,
java.lang.String name) |
java.util.Collection<DurableSubscriptionViewMBean> |
getDurableTopicSubscribers()
Active durable subscribers to topics of the broker.
|
java.util.Collection<DurableSubscriptionViewMBean> |
getInactiveDurableTopicSubscribers()
Inactive durable subscribers to topics of the broker.
|
JobSchedulerViewMBean |
getJobScheduler()
Get the JobScheduler MBean
|
protected <T> java.util.Collection<T> |
getManagedObjects(javax.management.ObjectName[] names,
java.lang.Class<T> type) |
abstract ManagementContext |
getManagementContext() |
java.util.Collection<NetworkBridgeViewMBean> |
getNetworkBridges()
The brokers network bridges.
|
java.util.Collection<NetworkConnectorViewMBean> |
getNetworkConnectors()
The brokers network connectors.
|
java.util.Collection<SubscriptionViewMBean> |
getNonDurableTopicSubscribers()
All active non-durable subscribers to a topic.
|
QueueViewMBean |
getQueue(java.lang.String name)
Get the view of the queue with the specified name.
|
java.util.Collection<SubscriptionViewMBean> |
getQueueConsumers(java.lang.String queueName)
All active consumers of a queue.
|
java.util.Collection<ProducerViewMBean> |
getQueueProducers(java.lang.String queueName)
All active producers to a queue.
|
java.util.Collection<QueueViewMBean> |
getQueues()
All queues known to the broker.
|
java.util.Collection<JobFacade> |
getScheduledJobs()
Get the JobScheduler MBean
|
TopicViewMBean |
getTopic(java.lang.String name)
Get the view of the topic with the specified name.
|
java.util.Collection<ProducerViewMBean> |
getTopicProducers(java.lang.String topicName)
All active producers to a topic.
|
java.util.Collection<TopicViewMBean> |
getTopics()
All topics known to the broker.
|
java.util.Collection<SubscriptionViewMBean> |
getTopicSubscribers(java.lang.String topicName)
All active non-durable subscribers to a topic.
|
boolean |
isJobSchedulerStarted() |
abstract java.lang.Object |
newProxyInstance(javax.management.ObjectName objectName,
java.lang.Class interfaceClass,
boolean notificationBroadcaster) |
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, purgeQueuepublic abstract 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 java.util.Collection<QueueViewMBean> getQueues() throws java.lang.Exception
BrokerFacadegetQueues in interface BrokerFacadenulljava.lang.Exceptionpublic java.util.Collection<TopicViewMBean> getTopics() throws java.lang.Exception
BrokerFacadegetTopics in interface BrokerFacadenulljava.lang.Exceptionpublic java.util.Collection<SubscriptionViewMBean> getTopicSubscribers(java.lang.String topicName) throws java.lang.Exception
BrokerFacadegetTopicSubscribers in interface BrokerFacadenulljava.lang.Exceptionpublic java.util.Collection<SubscriptionViewMBean> getNonDurableTopicSubscribers() throws java.lang.Exception
BrokerFacadegetNonDurableTopicSubscribers in interface BrokerFacadenulljava.lang.Exceptionpublic java.util.Collection<DurableSubscriptionViewMBean> getDurableTopicSubscribers() throws java.lang.Exception
BrokerFacadegetDurableTopicSubscribers in interface BrokerFacadenulljava.lang.Exceptionpublic java.util.Collection<DurableSubscriptionViewMBean> getInactiveDurableTopicSubscribers() throws java.lang.Exception
BrokerFacadegetInactiveDurableTopicSubscribers in interface BrokerFacadenulljava.lang.Exceptionpublic QueueViewMBean getQueue(java.lang.String name) throws java.lang.Exception
BrokerFacadegetQueue in interface BrokerFacadename - not nullnull if no queue with this name existsjava.lang.Exceptionpublic TopicViewMBean getTopic(java.lang.String name) throws java.lang.Exception
BrokerFacadegetTopic in interface BrokerFacadename - not nullnull if no topic with this name existsjava.lang.Exceptionprotected DestinationViewMBean getDestinationByName(java.util.Collection<? extends DestinationViewMBean> collection, java.lang.String name)
protected <T> java.util.Collection<T> getManagedObjects(javax.management.ObjectName[] names,
java.lang.Class<T> type)
throws java.lang.Exception
java.lang.Exceptionpublic java.util.Collection<ConnectionViewMBean> 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 ConnectionViewMBean 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 ConnectorViewMBean 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<NetworkConnectorViewMBean> getNetworkConnectors() throws java.lang.Exception
BrokerFacadegetNetworkConnectors in interface BrokerFacadenulljava.lang.Exceptionpublic java.util.Collection<NetworkBridgeViewMBean> getNetworkBridges() throws java.lang.Exception
BrokerFacadegetNetworkBridges in interface BrokerFacadenulljava.lang.Exceptionpublic java.util.Collection<SubscriptionViewMBean> 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<ProducerViewMBean> getQueueProducers(java.lang.String queueName) throws java.lang.Exception
BrokerFacadegetQueueProducers in interface BrokerFacadequeueName - the name of the queue, not nullnulljava.lang.Exceptionpublic java.util.Collection<ProducerViewMBean> getTopicProducers(java.lang.String topicName) throws java.lang.Exception
BrokerFacadegetTopicProducers in interface BrokerFacadetopicName - the name of the topic, not nullnulljava.lang.Exceptionpublic java.util.Collection<SubscriptionViewMBean> getConsumersOnConnection(java.lang.String connectionName) throws java.lang.Exception
BrokerFacadegetConsumersOnConnection in interface BrokerFacadeconnectionName - the name of the connection, not nullnulljava.lang.Exceptionpublic JobSchedulerViewMBean 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 © 2005-2014 Red Hat, Inc.. All Rights Reserved.