com.springsource.util.osgi.manifest.parse
Interface ParserLogger

All Known Implementing Classes:
DummyParserLogger

public interface ParserLogger

This is a stand-in logging service just for parsing manifests. It can run before the normal serviceability services have come up and allow errors to be correctly reported from the start of the server bootstrap process.

Concurrent Semantics
Implementations of this interface should be Thread Safe

Since:
1.0
Author:
Christopher Frost, Ben Hale

Method Summary
 java.lang.String[] errorReports()
          Reports if this logging service has been used or not.
 void outputErrorMsg(java.lang.Exception re, java.lang.String item)
          Deal with a exception at level 'Error' logging it with what ever services are available.
 

Method Detail

outputErrorMsg

void outputErrorMsg(java.lang.Exception re,
                    java.lang.String item)
Deal with a exception at level 'Error' logging it with what ever services are available.

Parameters:
re -
item -

errorReports

java.lang.String[] errorReports()
Reports if this logging service has been used or not. If it has been used the parsing activities that have taken place since this logger was created or reset have encountered problems of some kind.

Returns:
String array of all log event messages since the parser was created or cleaned