org.apache.openejb.server
Class ServiceLogger

java.lang.Object
  extended by org.apache.openejb.server.ServiceLogger
All Implemented Interfaces:
ServerService, Service

public class ServiceLogger
extends java.lang.Object
implements ServerService

Version:
$Rev: 896831 $ $Date: 2010-01-07 11:13:11 +0100 (Do, 07. Jan 2010) $

Constructor Summary
ServiceLogger(ServerService next)
           
 
Method Summary
 java.lang.String getIP()
           
 java.lang.String getName()
           
 int getPort()
           
 void init(java.util.Properties props)
           
 void service(java.io.InputStream in, java.io.OutputStream out)
           
 void service(java.net.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

ServiceLogger

public ServiceLogger(ServerService next)
Method Detail

init

public void init(java.util.Properties props)
          throws java.lang.Exception
Specified by:
init in interface Service
Throws:
java.lang.Exception

start

public void start()
           throws ServiceException
Specified by:
start in interface ServerService
Throws:
ServiceException

stop

public void stop()
          throws ServiceException
Specified by:
stop in interface ServerService
Throws:
ServiceException

service

public void service(java.io.InputStream in,
                    java.io.OutputStream out)
             throws ServiceException,
                    java.io.IOException
Specified by:
service in interface ServerService
Throws:
ServiceException
java.io.IOException

service

public void service(java.net.Socket socket)
             throws ServiceException,
                    java.io.IOException
Specified by:
service in interface ServerService
Throws:
ServiceException
java.io.IOException

getName

public java.lang.String getName()
Specified by:
getName in interface ServerService

getIP

public java.lang.String getIP()
Specified by:
getIP in interface ServerService

getPort

public int getPort()
Specified by:
getPort in interface ServerService


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