|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.activemq.TransportConnectorGBeanImpl
public class TransportConnectorGBeanImpl
Default implementation of the ActiveMQ connector
Field Summary | |
---|---|
static GBeanInfo |
GBEAN_INFO
|
Fields inherited from interface org.apache.geronimo.activemq.ActiveMQConnector |
---|
CONNECTOR_J2EE_TYPE |
Constructor Summary | |
---|---|
TransportConnectorGBeanImpl(BrokerServiceGBean brokerServiceGBean,
String protocol,
String host,
int port)
|
Method Summary | |
---|---|
protected org.apache.activemq.broker.TransportConnector |
createBrokerConnector(String url)
|
void |
doFail()
Fails the GBean. |
void |
doStart()
Starts the GBean. |
void |
doStop()
Stops the target. |
ClassLoader |
getClassLoader()
|
static GBeanInfo |
getGBeanInfo()
|
String |
getHost()
Gets the hostname/IP that this connector listens on. |
InetSocketAddress |
getListenAddress()
Every connector must specify a property of type InetSocketAddress because we use that to identify the network services to print a list during startup. |
String |
getPath()
|
int |
getPort()
Gets the network port that this connector listens on. |
String |
getProtocol()
Gets the network protocol that this connector handles. |
String |
getQuery()
|
String |
getUrl()
|
void |
setClassLoader(ClassLoader classLoader)
|
void |
setHost(String host)
Sets the hostname/IP that this connector listens on. |
void |
setPath(String path)
|
void |
setPort(int port)
Sets the network port that this connector listens on. |
void |
setProtocol(String protocol)
|
void |
setQuery(String query)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final GBeanInfo GBEAN_INFO
Constructor Detail |
---|
public TransportConnectorGBeanImpl(BrokerServiceGBean brokerServiceGBean, String protocol, String host, int port)
Method Detail |
---|
public String getProtocol()
NetworkConnector
getProtocol
in interface NetworkConnector
public void setProtocol(String protocol)
public String getHost()
NetworkConnector
getHost
in interface NetworkConnector
public void setHost(String host)
NetworkConnector
setHost
in interface NetworkConnector
public int getPort()
NetworkConnector
getPort
in interface NetworkConnector
public void setPort(int port)
NetworkConnector
setPort
in interface NetworkConnector
public String getPath()
getPath
in interface ActiveMQConnector
public void setPath(String path)
setPath
in interface ActiveMQConnector
public String getQuery()
getQuery
in interface ActiveMQConnector
public void setQuery(String query)
setQuery
in interface ActiveMQConnector
public String getUrl()
public InetSocketAddress getListenAddress()
NetworkConnector
getListenAddress
in interface NetworkConnector
public void doStart() throws Exception
GBeanLifecycle
doStart
in interface GBeanLifecycle
Exception
- if the target failed to start; this will cause a transition to the failed statepublic void doStop() throws Exception
GBeanLifecycle
doStop
in interface GBeanLifecycle
Exception
- if the target failed to stop; this will cause a transition to the failed statepublic void doFail()
GBeanLifecycle
doFail
in interface GBeanLifecycle
protected org.apache.activemq.broker.TransportConnector createBrokerConnector(String url) throws Exception
Exception
public ClassLoader getClassLoader()
public void setClassLoader(ClassLoader classLoader)
public static GBeanInfo getGBeanInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |