org.apache.activemq.broker.jmx
Class ManagedTransportConnector

java.lang.Object
  extended by org.apache.activemq.broker.TransportConnector
      extended by org.apache.activemq.broker.jmx.ManagedTransportConnector
All Implemented Interfaces:
BrokerServiceAware, Connector, Service

public class ManagedTransportConnector
extends TransportConnector

A managed transport connector which can create multiple managed connections as clients connect.


Field Summary
 
Fields inherited from class org.apache.activemq.broker.TransportConnector
connections, statusDector
 
Constructor Summary
ManagedTransportConnector(ManagementContext context, ObjectName connectorName, TransportServer server)
           
 
Method Summary
 ManagedTransportConnector asManagedConnector(MBeanServer mbeanServer, ObjectName connectorName)
           
protected  Connection createConnection(Transport transport)
           
protected static long getNextConnectionId()
           
 
Methods inherited from class org.apache.activemq.broker.TransportConnector
addPeerBroker, asManagedConnector, connectionCount, createDiscoveryAgent, createTransportServer, getBroker, getBrokerInfo, getBrokerService, getConnectionControl, getConnections, getConnectUri, getDiscoveryAgent, getDiscoveryUri, getMaximumConsumersAllowedPerConnection, getMaximumProducersAllowedPerConnection, getMessageAuthorizationPolicy, getName, getPeerBrokers, getPublishableConnectString, getPublishableConnectString, getServer, getStatistics, getTaskRunnerFactory, getUpdateClusterFilter, getUri, isAuditNetworkProducers, isDisableAsyncDispatch, isEnableStatusMonitor, isRebalanceClusterClients, isUpdateClusterClients, isUpdateClusterClientsOnRemove, onStarted, onStopped, removePeerBroker, setAuditNetworkProducers, setBrokerInfo, setBrokerService, setDisableAsyncDispatch, setDiscoveryAgent, setDiscoveryUri, setEnableStatusMonitor, setMaximumConsumersAllowedPerConnection, setMaximumProducersAllowedPerConnection, setMessageAuthorizationPolicy, setName, setRebalanceClusterClients, setServer, setTaskRunnerFactory, setUpdateClusterClients, setUpdateClusterClientsOnRemove, setUpdateClusterFilter, setUri, start, stop, toString, updateClientClusterInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManagedTransportConnector

public ManagedTransportConnector(ManagementContext context,
                                 ObjectName connectorName,
                                 TransportServer server)
Method Detail

asManagedConnector

public ManagedTransportConnector asManagedConnector(MBeanServer mbeanServer,
                                                    ObjectName connectorName)
                                             throws IOException,
                                                    URISyntaxException
Throws:
IOException
URISyntaxException

createConnection

protected Connection createConnection(Transport transport)
                               throws IOException
Overrides:
createConnection in class TransportConnector
Throws:
IOException

getNextConnectionId

protected static long getNextConnectionId()


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.