|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.web.BrokerFacadeSupport
public abstract class BrokerFacadeSupport
A useful base class for an implementation of BrokerFacade
| Constructor Summary | |
|---|---|
BrokerFacadeSupport()
|
|
| Method Summary | ||
|---|---|---|
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
|
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. |
|
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<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<TopicViewMBean> |
getTopics()
All topics known to the broker. |
|
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)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.activemq.web.BrokerFacade |
|---|
getBrokerAdmin, getBrokerName, purgeQueue |
| Constructor Detail |
|---|
public BrokerFacadeSupport()
| Method Detail |
|---|
public abstract ManagementContext getManagementContext()
public abstract java.util.Set queryNames(javax.management.ObjectName name,
javax.management.QueryExp query)
throws java.lang.Exception
java.lang.Exception
public abstract java.lang.Object newProxyInstance(javax.management.ObjectName objectName,
java.lang.Class interfaceClass,
boolean notificationBroadcaster)
throws java.lang.Exception
java.lang.Exception
public java.util.Collection<QueueViewMBean> getQueues()
throws java.lang.Exception
BrokerFacade
getQueues in interface BrokerFacadenull
java.lang.Exception
public java.util.Collection<TopicViewMBean> getTopics()
throws java.lang.Exception
BrokerFacade
getTopics in interface BrokerFacadenull
java.lang.Exception
public java.util.Collection<DurableSubscriptionViewMBean> getDurableTopicSubscribers()
throws java.lang.Exception
BrokerFacade
getDurableTopicSubscribers in interface BrokerFacadenull
java.lang.Exception
public java.util.Collection<DurableSubscriptionViewMBean> getInactiveDurableTopicSubscribers()
throws java.lang.Exception
BrokerFacade
getInactiveDurableTopicSubscribers in interface BrokerFacadenull
java.lang.Exception
public QueueViewMBean getQueue(java.lang.String name)
throws java.lang.Exception
BrokerFacade
getQueue in interface BrokerFacadename - not null
null if no queue with this name exists
java.lang.Exception
public TopicViewMBean getTopic(java.lang.String name)
throws java.lang.Exception
BrokerFacade
getTopic in interface BrokerFacadename - not null
null if no topic with this name exists
java.lang.Exception
protected 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.Exception
public java.util.Collection<ConnectionViewMBean> getConnections()
throws java.lang.Exception
BrokerFacade
getConnections in interface BrokerFacadenull
java.lang.Exception
public java.util.Collection<java.lang.String> getConnections(java.lang.String connectorName)
throws java.lang.Exception
BrokerFacade
getConnections in interface BrokerFacadeconnectorName - not null
null
java.lang.ExceptionBrokerFacade.getConnection(String)
public ConnectionViewMBean getConnection(java.lang.String connectionName)
throws java.lang.Exception
BrokerFacade
getConnection in interface BrokerFacadeconnectionName - the name of the connection, not null
null
java.lang.Exception
public java.util.Collection<java.lang.String> getConnectors()
throws java.lang.Exception
BrokerFacade
getConnectors in interface BrokerFacadenull
java.lang.Exception
public ConnectorViewMBean getConnector(java.lang.String name)
throws java.lang.Exception
BrokerFacade
getConnector in interface BrokerFacadename - name of the connector (f.e. openwire)
null if not found
java.lang.Exception
public java.util.Collection<NetworkConnectorViewMBean> getNetworkConnectors()
throws java.lang.Exception
BrokerFacade
getNetworkConnectors in interface BrokerFacadenull
java.lang.Exception
public java.util.Collection<NetworkBridgeViewMBean> getNetworkBridges()
throws java.lang.Exception
BrokerFacade
getNetworkBridges in interface BrokerFacadenull
java.lang.Exception
public java.util.Collection<SubscriptionViewMBean> getQueueConsumers(java.lang.String queueName)
throws java.lang.Exception
BrokerFacade
getQueueConsumers in interface BrokerFacadequeueName - the name of the queue, not null
null
java.lang.Exception
public java.util.Collection<SubscriptionViewMBean> getConsumersOnConnection(java.lang.String connectionName)
throws java.lang.Exception
BrokerFacade
getConsumersOnConnection in interface BrokerFacadeconnectionName - the name of the connection, not null
null
java.lang.Exception
public JobSchedulerViewMBean getJobScheduler()
throws java.lang.Exception
BrokerFacade
getJobScheduler in interface BrokerFacadejava.lang.Exception
public java.util.Collection<JobFacade> getScheduledJobs()
throws java.lang.Exception
BrokerFacade
getScheduledJobs in interface BrokerFacadejava.lang.Exceptionpublic boolean isJobSchedulerStarted()
isJobSchedulerStarted in interface BrokerFacade
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||