|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.openejb.EjbDaemonGBean
public class EjbDaemonGBean
Field Summary | |
---|---|
static GBeanInfo |
GBEAN_INFO
|
Constructor Summary | |
---|---|
EjbDaemonGBean()
|
Method Summary | |
---|---|
void |
doFail()
Fails the GBean. |
void |
doStart()
Starts the GBean. |
void |
doStop()
Stops the target. |
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. |
int |
getPort()
Gets the network port that this connector listens on. |
String |
getProtocol()
Gets the network protocol that this connector handles. |
int |
getThreads()
|
void |
setHost(String host)
Sets the hostname/IP that this connector listens on. |
void |
setPort(int port)
Sets the network port that this connector listens on. |
void |
setThreads(int threads)
|
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 EjbDaemonGBean()
Method Detail |
---|
public String getProtocol()
NetworkConnector
getProtocol
in interface NetworkConnector
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 int getThreads()
public void setThreads(int threads)
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
public static GBeanInfo getGBeanInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |