org.activemq.gbean
Class ActiveMQConnectorGBean
java.lang.Object
org.activemq.gbean.ActiveMQConnectorGBean
- All Implemented Interfaces:
- org.activemq.gbean.ActiveMQConnector, org.apache.geronimo.gbean.GBeanLifecycle, org.apache.geronimo.management.geronimo.JMSConnector, org.apache.geronimo.management.geronimo.NetworkConnector
public class ActiveMQConnectorGBean
- extends Object
- implements org.apache.geronimo.gbean.GBeanLifecycle, org.activemq.gbean.ActiveMQConnector
Default implementation of the ActiveMQ connector
- Version:
- $Revision: 1.1.1.1 $
Field Summary |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
Fields inherited from interface org.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
ActiveMQConnectorGBean
public ActiveMQConnectorGBean(ActiveMQContainer container,
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.activemq.gbean.ActiveMQConnector
setPath
public void setPath(String path)
- Specified by:
setPath
in interface org.activemq.gbean.ActiveMQConnector
getQuery
public String getQuery()
- Specified by:
getQuery
in interface org.activemq.gbean.ActiveMQConnector
setQuery
public void setQuery(String query)
- Specified by:
setQuery
in interface org.activemq.gbean.ActiveMQConnector
getUrl
public String getUrl()
getWireFormat
public org.activemq.io.WireFormat getWireFormat()
setWireFormat
public void setWireFormat(org.activemq.io.WireFormat wireFormat)
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.activemq.broker.BrokerConnector createBrokerConnector(String url)
throws Exception
- Throws:
Exception
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 2004-2010 Protique, Ltd.. All Rights Reserved.