org.openejb.server
Class ServiceDaemon

java.lang.Object
  extended byorg.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
           
 
Constructor Summary
ServiceDaemon(SocketService socketService, InetAddress inetAddress, int port)
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 InetAddress getInetAddress()
          Gets the inetAddress number that the daemon is listening on.
 int getPort()
          Gets the port number that the daemon is listening on.
 String getServiceName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

ServiceDaemon

public ServiceDaemon(SocketService socketService,
                     InetAddress inetAddress,
                     int port)
Method Detail

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.