Java EE 5 SDK

com.sun.appserv.management.ext.logging
Interface LogQueryResult

All Known Implementing Classes:
LogQueryResultImpl

public interface LogQueryResult

Interface which can be applied over the CompositeData returned from LogQuery.queryServerLog(java.lang.String, long, boolean, int, java.lang.Long, java.lang.Long, java.lang.String, java.util.Set, java.util.List).

Since:
AS 9.0
See Also:
LogQueryEntry, LogQuery

Method Summary
 LogQueryEntry[] getEntries()
          Return all log entries found by the query not including the field headers.
 String[] getFieldNames()
          Get field names for each field of a LogQueryEntry.
 

Method Detail

getFieldNames

String[] getFieldNames()
Get field names for each field of a LogQueryEntry. Log entries in the server log file are of the form:
[#|DATE|LEVEL|PRODUCT_NAME|MODULE|NAME_VALUE_PAIRS|MESSAGE|#]

The metadata contains most of these fields, but does contain the PRODUCT_NAME or '#' columns.


getEntries

LogQueryEntry[] getEntries()
Return all log entries found by the query not including the field headers.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.