org.apache.activemq.gbean
Class TransportConnectorGBeanImpl
java.lang.Object
org.apache.activemq.gbean.TransportConnectorGBeanImpl
- All Implemented Interfaces:
- org.apache.activemq.gbean.ActiveMQConnector, org.apache.geronimo.gbean.GBeanLifecycle, org.apache.geronimo.management.geronimo.JMSConnector, org.apache.geronimo.management.geronimo.NetworkConnector
public class TransportConnectorGBeanImpl
- extends Object
- implements org.apache.geronimo.gbean.GBeanLifecycle, org.apache.activemq.gbean.ActiveMQConnector
Default implementation of the ActiveMQ connector
Field Summary |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
Fields inherited from interface org.apache.activemq.gbean.ActiveMQConnector |
CONNECTOR_J2EE_TYPE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
TransportConnectorGBeanImpl
public TransportConnectorGBeanImpl(BrokerServiceGBean brokerServiceGBean,
String protocol,
String host,
int port)
getProtocol
public String getProtocol()
- Specified by:
getProtocol
in interface org.apache.geronimo.management.geronimo.NetworkConnector
setProtocol
public void setProtocol(String protocol)
getHost
public String getHost()
- Specified by:
getHost
in interface org.apache.geronimo.management.geronimo.NetworkConnector
setHost
public void setHost(String host)
- Specified by:
setHost
in interface org.apache.geronimo.management.geronimo.NetworkConnector
getPort
public int getPort()
- Specified by:
getPort
in interface org.apache.geronimo.management.geronimo.NetworkConnector
setPort
public void setPort(int port)
- Specified by:
setPort
in interface org.apache.geronimo.management.geronimo.NetworkConnector
getPath
public String getPath()
- Specified by:
getPath
in interface org.apache.activemq.gbean.ActiveMQConnector
setPath
public void setPath(String path)
- Specified by:
setPath
in interface org.apache.activemq.gbean.ActiveMQConnector
getQuery
public String getQuery()
- Specified by:
getQuery
in interface org.apache.activemq.gbean.ActiveMQConnector
setQuery
public void setQuery(String query)
- Specified by:
setQuery
in interface org.apache.activemq.gbean.ActiveMQConnector
getUrl
public String getUrl()
getListenAddress
public InetSocketAddress getListenAddress()
- Specified by:
getListenAddress
in interface org.apache.geronimo.management.geronimo.NetworkConnector
doStart
public void doStart()
throws Exception
- Specified by:
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
throws Exception
- Specified by:
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doFail
public void doFail()
- Specified by:
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
createBrokerConnector
protected org.apache.activemq.broker.TransportConnector createBrokerConnector(String url)
throws Exception
- Throws:
Exception
getClassLoader
public ClassLoader getClassLoader()
setClassLoader
public void setClassLoader(ClassLoader classLoader)
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 2006 Apache Software Foundation. All Rights Reserved.