org.apache.geronimo.activemq
Class TransportConnectorGBeanImpl
java.lang.Object
org.apache.geronimo.activemq.TransportConnectorGBeanImpl
- All Implemented Interfaces:
- ActiveMQConnector, GBeanLifecycle, JMSConnector, NetworkConnector
public class TransportConnectorGBeanImpl
- extends Object
- implements GBeanLifecycle, ActiveMQConnector
Default implementation of the ActiveMQ connector
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final GBeanInfo GBEAN_INFO
TransportConnectorGBeanImpl
public TransportConnectorGBeanImpl(BrokerServiceGBean brokerServiceGBean,
String protocol,
String host,
int port)
getProtocol
public String getProtocol()
- Specified by:
getProtocol in interface NetworkConnector
setProtocol
public void setProtocol(String protocol)
getHost
public String getHost()
- Specified by:
getHost in interface NetworkConnector
setHost
public void setHost(String host)
- Specified by:
setHost in interface NetworkConnector
getPort
public int getPort()
- Specified by:
getPort in interface NetworkConnector
setPort
public void setPort(int port)
- Specified by:
setPort in interface NetworkConnector
getPath
public String getPath()
- Specified by:
getPath in interface ActiveMQConnector
setPath
public void setPath(String path)
- Specified by:
setPath in interface ActiveMQConnector
getQuery
public String getQuery()
- Specified by:
getQuery in interface ActiveMQConnector
setQuery
public void setQuery(String query)
- Specified by:
setQuery in interface ActiveMQConnector
getUrl
public String getUrl()
getListenAddress
public InetSocketAddress getListenAddress()
- Specified by:
getListenAddress in interface NetworkConnector
doStart
public void doStart()
throws Exception
- Specified by:
doStart in interface GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
throws Exception
- Specified by:
doStop in interface GBeanLifecycle
- Throws:
Exception
doFail
public void doFail()
- Specified by:
doFail in interface 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 GBeanInfo getGBeanInfo()
Copyright © 2003-2010 The Apache Geronimo development community. All Rights Reserved.