org.openejb.server
Class ServiceDaemon
java.lang.Object
org.openejb.server.ServiceDaemon
- All Implemented Interfaces:
- org.apache.geronimo.gbean.GBeanLifecycle
- public class ServiceDaemon
- extends Object
- implements org.apache.geronimo.gbean.GBeanLifecycle
Field Summary |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
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
ServiceDaemon
public ServiceDaemon(SocketService socketService,
InetAddress inetAddress,
int port)
doStart
public void doStart()
throws ServiceException
- Specified by:
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
ServiceException
doStop
public void doStop()
- Specified by:
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
doFail
public void doFail()
- Specified by:
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
getServiceName
public String getServiceName()
getInetAddress
public InetAddress getInetAddress()
- Gets the inetAddress number that the
daemon is listening on.
getPort
public int getPort()
- Gets the port number that the
daemon is listening on.
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 1999-2005 OpenEJB. All Rights Reserved.