|
||||||||||
| 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(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
|
getManagedObjects(ObjectName[] names,
Class<T> type)
|
|
abstract ManagementContext |
getManagementContext()
|
|
Collection<NetworkBridgeViewMBean> |
getNetworkBridges()
The brokers network bridges. |
|
Collection<NetworkConnectorViewMBean> |
getNetworkConnectors()
The brokers network connectors. |
|
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<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<TopicViewMBean> |
getTopics()
All topics known to the broker. |
|
boolean |
isJobSchedulerStarted()
|
|
abstract Object |
newProxyInstance(ObjectName objectName,
Class interfaceClass,
boolean notificationBroadcaster)
|
|
abstract Set |
queryNames(ObjectName name,
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 Set queryNames(ObjectName name,
QueryExp query)
throws Exception
Exception
public abstract Object newProxyInstance(ObjectName objectName,
Class interfaceClass,
boolean notificationBroadcaster)
throws Exception
Exception
public Collection<QueueViewMBean> getQueues()
throws Exception
BrokerFacade
getQueues in interface BrokerFacadenull
Exception
public Collection<TopicViewMBean> getTopics()
throws Exception
BrokerFacade
getTopics in interface BrokerFacadenull
Exception
public Collection<DurableSubscriptionViewMBean> getDurableTopicSubscribers()
throws Exception
BrokerFacade
getDurableTopicSubscribers in interface BrokerFacadenull
Exception
public Collection<DurableSubscriptionViewMBean> getInactiveDurableTopicSubscribers()
throws Exception
BrokerFacade
getInactiveDurableTopicSubscribers in interface BrokerFacadenull
Exception
public QueueViewMBean getQueue(String name)
throws Exception
BrokerFacade
getQueue in interface BrokerFacadename - not null
null if no queue with this name exists
Exception
public TopicViewMBean getTopic(String name)
throws Exception
BrokerFacade
getTopic in interface BrokerFacadename - not null
null if no topic with this name exists
Exception
protected DestinationViewMBean getDestinationByName(Collection<? extends DestinationViewMBean> collection,
String name)
protected <T> Collection<T> getManagedObjects(ObjectName[] names,
Class<T> type)
throws Exception
Exception
public Collection<ConnectionViewMBean> getConnections()
throws Exception
BrokerFacade
getConnections in interface BrokerFacadenull
Exception
public Collection<String> getConnections(String connectorName)
throws Exception
BrokerFacade
getConnections in interface BrokerFacadeconnectorName - not null
null
ExceptionBrokerFacade.getConnection(String)
public ConnectionViewMBean getConnection(String connectionName)
throws Exception
BrokerFacade
getConnection in interface BrokerFacadeconnectionName - the name of the connection, not null
null
Exception
public Collection<String> getConnectors()
throws Exception
BrokerFacade
getConnectors in interface BrokerFacadenull
Exception
public ConnectorViewMBean getConnector(String name)
throws Exception
BrokerFacade
getConnector in interface BrokerFacadename - name of the connector (f.e. openwire)
null if not found
Exception
public Collection<NetworkConnectorViewMBean> getNetworkConnectors()
throws Exception
BrokerFacade
getNetworkConnectors in interface BrokerFacadenull
Exception
public Collection<NetworkBridgeViewMBean> getNetworkBridges()
throws Exception
BrokerFacade
getNetworkBridges in interface BrokerFacadenull
Exception
public Collection<SubscriptionViewMBean> getQueueConsumers(String queueName)
throws Exception
BrokerFacade
getQueueConsumers in interface BrokerFacadequeueName - the name of the queue, not null
null
Exception
public Collection<SubscriptionViewMBean> getConsumersOnConnection(String connectionName)
throws Exception
BrokerFacade
getConsumersOnConnection in interface BrokerFacadeconnectionName - the name of the connection, not null
null
Exception
public JobSchedulerViewMBean getJobScheduler()
throws Exception
BrokerFacade
getJobScheduler in interface BrokerFacadeException
public Collection<JobFacade> getScheduledJobs()
throws Exception
BrokerFacade
getScheduledJobs in interface BrokerFacadeExceptionpublic boolean isJobSchedulerStarted()
isJobSchedulerStarted in interface BrokerFacade
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||