org.apache.geronimo.jetty6.requestlog
Class NCSARequestLog
java.lang.Object
org.apache.geronimo.jetty6.requestlog.NCSARequestLog
- All Implemented Interfaces:
- GBeanLifecycle, JettyRequestLog
public class NCSARequestLog
- extends Object
- implements GBeanLifecycle, JettyRequestLog
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final GBeanInfo GBEAN_INFO
NCSARequestLog
public NCSARequestLog(JettyContainer container,
ServerInfo serverInfo)
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.