com.ibm.websphere.als
Class BufferManager

java.lang.Object
  |
  +--com.ibm.websphere.als.BufferManager
All Implemented Interfaces:
com.ibm.websphere.servlet.event.ApplicationListener, java.util.EventListener, com.ibm.websphere.servlet.event.ServletInvocationListener

public class BufferManager
extends java.lang.Object
implements com.ibm.websphere.servlet.event.ApplicationListener, com.ibm.websphere.servlet.event.ServletInvocationListener


Constructor Summary
BufferManager(javax.servlet.ServletContext sc, Logger l, int maxEntries)
           
 
Method Summary
 void flush()
           
 Logger getLogger()
           
 int getSize()
           
 void log(LogRecord rec)
           
 void onApplicationAvailableForService(com.ibm.websphere.servlet.event.ApplicationEvent evt)
           
 void onApplicationEnd(com.ibm.websphere.servlet.event.ApplicationEvent evt)
           
 void onApplicationStart(com.ibm.websphere.servlet.event.ApplicationEvent evt)
           
 void onApplicationUnavailableForService(com.ibm.websphere.servlet.event.ApplicationEvent evt)
           
 void onServletFinishService(com.ibm.websphere.servlet.event.ServletInvocationEvent evt)
           
 void onServletStartService(com.ibm.websphere.servlet.event.ServletInvocationEvent evt)
           
 void terminate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferManager

public BufferManager(javax.servlet.ServletContext sc,
                     Logger l,
                     int maxEntries)
Method Detail

log

public void log(LogRecord rec)
         throws java.lang.Exception

flush

public void flush()
           throws java.lang.Exception

getLogger

public Logger getLogger()

onApplicationAvailableForService

public void onApplicationAvailableForService(com.ibm.websphere.servlet.event.ApplicationEvent evt)
Specified by:
onApplicationAvailableForService in interface com.ibm.websphere.servlet.event.ApplicationListener

onApplicationStart

public void onApplicationStart(com.ibm.websphere.servlet.event.ApplicationEvent evt)
Specified by:
onApplicationStart in interface com.ibm.websphere.servlet.event.ApplicationListener

onApplicationUnavailableForService

public void onApplicationUnavailableForService(com.ibm.websphere.servlet.event.ApplicationEvent evt)
Specified by:
onApplicationUnavailableForService in interface com.ibm.websphere.servlet.event.ApplicationListener

onApplicationEnd

public void onApplicationEnd(com.ibm.websphere.servlet.event.ApplicationEvent evt)
Specified by:
onApplicationEnd in interface com.ibm.websphere.servlet.event.ApplicationListener

onServletStartService

public void onServletStartService(com.ibm.websphere.servlet.event.ServletInvocationEvent evt)
Specified by:
onServletStartService in interface com.ibm.websphere.servlet.event.ServletInvocationListener

onServletFinishService

public void onServletFinishService(com.ibm.websphere.servlet.event.ServletInvocationEvent evt)
Specified by:
onServletFinishService in interface com.ibm.websphere.servlet.event.ServletInvocationListener

terminate

public void terminate()

getSize

public int getSize()