org.apache.openejb.server
Interface ServerService

All Superinterfaces:
Service
All Known Subinterfaces:
HttpServer
All Known Implementing Classes:
AdminDaemon, Axis2Service, AxisService, BrokerServer, CxfService, DerbyNetworkService, EjbServer, HsqlService, HttpEjbServer, HttpServer, JettyHttpEjbServer, JettyHttpServer, KeepAliveServer, MulticastDiscoveryAgent, MultipointDiscoveryAgent, OpenEJBHttpEjbServer, OpenEJBHttpServer, ServerServiceFilter, ServiceAccessController, ServiceDaemon, ServiceLogger, ServicePool, TelnetServer, WsService

public interface ServerService
extends Service

Version:
$Rev: 494654 $ $Date: 2007-01-10 00:45:36 +0100 (Mi, 10. Jan 2007) $

Method Summary
 java.lang.String getIP()
           
 java.lang.String getName()
           
 int getPort()
           
 void service(java.io.InputStream in, java.io.OutputStream out)
           
 void service(java.net.Socket socket)
           
 void start()
           
 void stop()
           
 
Methods inherited from interface org.apache.openejb.spi.Service
init
 

Method Detail

start

void start()
           throws ServiceException
Throws:
ServiceException

stop

void stop()
          throws ServiceException
Throws:
ServiceException

service

void service(java.io.InputStream in,
             java.io.OutputStream out)
             throws ServiceException,
                    java.io.IOException
Throws:
ServiceException
java.io.IOException

service

void service(java.net.Socket socket)
             throws ServiceException,
                    java.io.IOException
Throws:
ServiceException
java.io.IOException

getName

java.lang.String getName()

getIP

java.lang.String getIP()

getPort

int getPort()


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.