org.openejb.server
Class SimpleSocketService

java.lang.Object
  extended byorg.openejb.server.SimpleSocketService
All Implemented Interfaces:
org.apache.geronimo.gbean.GBeanLifecycle, org.activeio.xnet.SocketService

public class SimpleSocketService
extends Object
implements org.activeio.xnet.SocketService, org.apache.geronimo.gbean.GBeanLifecycle

Version:
$Revision: 445812 $ $Date: 2005-12-01 09:34:55 +0100 (Thu, 01 Dec 2005) $

Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Constructor Summary
SimpleSocketService(String serviceClassName, org.activeio.xnet.hba.IPAddressPermission[] onlyFrom, ContainerIndex containerIndex, ClassLoader cl)
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 String getName()
           
 void service(Socket socket)
           
 
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

SimpleSocketService

public SimpleSocketService(String serviceClassName,
                           org.activeio.xnet.hba.IPAddressPermission[] onlyFrom,
                           ContainerIndex containerIndex,
                           ClassLoader cl)
                    throws Exception
Method Detail

doStart

public void doStart()
             throws org.activeio.xnet.ServiceException
Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
org.activeio.xnet.ServiceException

doStop

public void doStop()
            throws org.activeio.xnet.ServiceException
Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
org.activeio.xnet.ServiceException

doFail

public void doFail()
Specified by:
doFail in interface org.apache.geronimo.gbean.GBeanLifecycle

service

public void service(Socket socket)
             throws org.activeio.xnet.ServiceException,
                    IOException
Specified by:
service in interface org.activeio.xnet.SocketService
Throws:
org.activeio.xnet.ServiceException
IOException

getName

public String getName()
Specified by:
getName in interface org.activeio.xnet.SocketService

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


Copyright © 1999-2006 OpenEJB. All Rights Reserved.