org.apache.openejb.server
Class ServiceLogger

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

public class ServiceLogger
extends ServerServiceFilter

Version:
$Rev: 1308219 $ $Date: 2012-04-01 16:42:30 -0700 (Sun, 01 Apr 2012) $

Constructor Summary
ServiceLogger(ServerService next)
           
 
Method Summary
 void init(Properties props)
           
static void MDCput(String key, String value)
           
 void service(InputStream in, OutputStream out)
           
 void service(Socket socket)
           
 
Methods inherited from class org.apache.openejb.server.ServerServiceFilter
getIP, getName, getPort, start, 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(Properties props)
          throws Exception
Specified by:
init in interface Service
Overrides:
init in class ServerServiceFilter
Throws:
Exception

service

public void service(InputStream in,
                    OutputStream out)
             throws ServiceException,
                    IOException
Specified by:
service in interface ServerService
Overrides:
service in class ServerServiceFilter
Throws:
ServiceException
IOException

MDCput

public static void MDCput(String key,
                          String value)

service

public void service(Socket socket)
             throws ServiceException,
                    IOException
Specified by:
service in interface ServerService
Overrides:
service in class ServerServiceFilter
Throws:
ServiceException
IOException


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.