org.openejb.server.ejbd
Class EjbServer

java.lang.Object
  extended byorg.openejb.server.ejbd.EjbServer
All Implemented Interfaces:
org.activeio.xnet.ServerService, org.activeio.xnet.SocketService

public class EjbServer
extends Object
implements org.activeio.xnet.ServerService

Since:
11/25/2001

Constructor Summary
EjbServer()
           
EjbServer(ContainerIndex containerIndex, Collection orbRefs)
           
 
Method Summary
 String getIP()
           
 String getName()
           
 int getPort()
           
 void init(Properties props)
           
 void service(Socket socket)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbServer

public EjbServer()
          throws Exception

EjbServer

public EjbServer(ContainerIndex containerIndex,
                 Collection orbRefs)
          throws Exception
Method Detail

init

public void init(Properties props)
          throws Exception
Specified by:
init in interface org.activeio.xnet.ServerService
Throws:
Exception

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

start

public void start()
           throws org.activeio.xnet.ServiceException
Specified by:
start in interface org.activeio.xnet.ServerService
Throws:
org.activeio.xnet.ServiceException

stop

public void stop()
          throws org.activeio.xnet.ServiceException
Specified by:
stop in interface org.activeio.xnet.ServerService
Throws:
org.activeio.xnet.ServiceException

getName

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

getPort

public int getPort()
Specified by:
getPort in interface org.activeio.xnet.ServerService

getIP

public String getIP()
Specified by:
getIP in interface org.activeio.xnet.ServerService


Copyright © 1999-2006 OpenEJB. All Rights Reserved.