org.apache.geronimo.jetty6.requestlog
Class NCSARequestLog

java.lang.Object
  extended by org.apache.geronimo.jetty6.requestlog.NCSARequestLog
All Implemented Interfaces:
GBeanLifecycle, JettyRequestLog

public class NCSARequestLog
extends Object
implements GBeanLifecycle, JettyRequestLog


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
NCSARequestLog(JettyContainer container, ServerInfo serverInfo)
           
 
Method Summary
 void doFail()
          Fails the GBean.
 void doStart()
          Starts the GBean.
 void doStop()
          Stops the target.
 String getAbsoluteFilePath()
           
 String getFilename()
           
static GBeanInfo getGBeanInfo()
           
 String[] getIgnorePaths()
           
 String getLogDateFormat()
           
 String getLogTimeZone()
           
 int getRetainDays()
           
 boolean isAppend()
           
 boolean isExtended()
           
 boolean isPreferProxiedForAddress()
           
 void setAppend(boolean a)
           
 void setExtended(boolean e)
           
 void setFilename(String filename)
           
 void setIgnorePaths(String[] ignorePaths)
           
 void setLogDateFormat(String format)
           
 void setLogTimeZone(String tz)
           
 void setPreferProxiedForAddress(boolean value)
           
 void setRetainDays(int retainDays)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

NCSARequestLog

public NCSARequestLog(JettyContainer container,
                      ServerInfo serverInfo)
Method Detail

setFilename

public void setFilename(String filename)
Specified by:
setFilename in interface JettyRequestLog

getFilename

public String getFilename()
Specified by:
getFilename in interface JettyRequestLog

setLogDateFormat

public void setLogDateFormat(String format)
Specified by:
setLogDateFormat in interface JettyRequestLog

getLogDateFormat

public String getLogDateFormat()
Specified by:
getLogDateFormat in interface JettyRequestLog

setLogTimeZone

public void setLogTimeZone(String tz)
Specified by:
setLogTimeZone in interface JettyRequestLog

getLogTimeZone

public String getLogTimeZone()
Specified by:
getLogTimeZone in interface JettyRequestLog

getRetainDays

public int getRetainDays()
Specified by:
getRetainDays in interface JettyRequestLog

setRetainDays

public void setRetainDays(int retainDays)
Specified by:
setRetainDays in interface JettyRequestLog

isExtended

public boolean isExtended()
Specified by:
isExtended in interface JettyRequestLog

setExtended

public void setExtended(boolean e)
Specified by:
setExtended in interface JettyRequestLog

isAppend

public boolean isAppend()
Specified by:
isAppend in interface JettyRequestLog

setAppend

public void setAppend(boolean a)
Specified by:
setAppend in interface JettyRequestLog

setIgnorePaths

public void setIgnorePaths(String[] ignorePaths)
Specified by:
setIgnorePaths in interface JettyRequestLog

getIgnorePaths

public String[] getIgnorePaths()
Specified by:
getIgnorePaths in interface JettyRequestLog

setPreferProxiedForAddress

public void setPreferProxiedForAddress(boolean value)
Specified by:
setPreferProxiedForAddress in interface JettyRequestLog

isPreferProxiedForAddress

public boolean isPreferProxiedForAddress()
Specified by:
isPreferProxiedForAddress in interface JettyRequestLog

getAbsoluteFilePath

public String getAbsoluteFilePath()
Specified by:
getAbsoluteFilePath in interface JettyRequestLog

doStart

public void doStart()
             throws Exception
Description copied from interface: GBeanLifecycle
Starts the GBean. This informs the GBean that it is about to transition to the running state.

Specified by:
doStart in interface GBeanLifecycle
Throws:
Exception - if the target failed to start; this will cause a transition to the failed state

doStop

public void doStop()
            throws Exception
Description copied from interface: GBeanLifecycle
Stops the target. This informs the GBean that it is about to transition to the stopped state.

Specified by:
doStop in interface GBeanLifecycle
Throws:
Exception - if the target failed to stop; this will cause a transition to the failed state

doFail

public void doFail()
Description copied from interface: GBeanLifecycle
Fails the GBean. This informs the GBean that it is about to transition to the failed state.

Specified by:
doFail in interface GBeanLifecycle

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.