org.openejb.server
Class SimpleSocketService
java.lang.Object
org.openejb.server.SimpleSocketService
- All Implemented Interfaces:
- org.apache.geronimo.gbean.GBeanLifecycle, SocketService
- public class SimpleSocketService
- extends Object
- implements SocketService, org.apache.geronimo.gbean.GBeanLifecycle
- Version:
- $Revision: 1.7 $ $Date: 2004/07/15 03:34:20 $
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
SimpleSocketService
public SimpleSocketService(String serviceClassName,
InetAddress[] onlyFrom,
ContainerIndex containerIndex)
throws Exception
doStart
public void doStart()
throws ServiceException
- Specified by:
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
ServiceException
doStop
public void doStop()
throws ServiceException
- Specified by:
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
ServiceException
doFail
public void doFail()
- Specified by:
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
service
public void service(Socket socket)
throws ServiceException,
IOException
- Specified by:
service
in interface SocketService
- Throws:
ServiceException
IOException
getName
public String getName()
- Description copied from interface:
SocketService
- Gets the name of the service.
Used for display purposes only
- Specified by:
getName
in interface SocketService
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 1999-2005 OpenEJB. All Rights Reserved.