|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 NetworkConnectorpublic String getHost()
NetworkConnector
getHost in interface NetworkConnectorpublic void setHost(String host)
NetworkConnector
setHost in interface NetworkConnectorpublic int getPort()
NetworkConnector
getPort in interface NetworkConnectorpublic void setPort(int port)
NetworkConnector
setPort in interface NetworkConnectorpublic int getThreads()
public void setThreads(int threads)
public InetSocketAddress getListenAddress()
NetworkConnector
getListenAddress in interface NetworkConnector
public void doStart()
throws Exception
GBeanLifecycle
doStart in interface GBeanLifecycleException - if the target failed to start; this will cause a transition to the failed state
public void doStop()
throws Exception
GBeanLifecycle
doStop in interface GBeanLifecycleException - if the target failed to stop; this will cause a transition to the failed statepublic void doFail()
GBeanLifecycle
doFail in interface GBeanLifecyclepublic static GBeanInfo getGBeanInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||