org.apache.geronimo.jetty6.requestlog
Class JettyLogManagerImpl
java.lang.Object
org.apache.geronimo.jetty6.requestlog.JettyLogManagerImpl
- All Implemented Interfaces:
- JettyLogManager, Log, WebAccessLog
public class JettyLogManagerImpl
- extends Object
- implements JettyLogManager
Jetty implementation of the WebAccessLog management interface.
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
JettyLogManagerImpl
public JettyLogManagerImpl(ServerInfo serverInfo,
Collection logGbeans)
getLogNames
public String[] getLogNames()
- Gets the name of all logs used by this system. Typically there
is only one, but specialized cases may use more.
- Specified by:
getLogNames
in interface WebAccessLog
- Returns:
- An array of all log names
getLogFileNames
public String[] getLogFileNames(String logName)
- Gets the names of all log files for this log name.
- Specified by:
getLogFileNames
in interface WebAccessLog
- Parameters:
logName
- The name of the log for which to return the specific file names.
- Returns:
- An array of log file names
getMatchingItems
public Log.SearchResults getMatchingItems(String logName,
String host,
String user,
String method,
String uri,
Date startDate,
Date endDate,
Integer skipResults,
Integer maxResults)
- Searches the log for records matching the specified parameters. The
maximum results returned will be the lesser of 1000 and the
provided maxResults argument.
- Specified by:
getMatchingItems
in interface WebAccessLog
- See Also:
Log.MAX_SEARCH_RESULTS
getGBeanInfo
public static GBeanInfo getGBeanInfo()
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.