com.springsource.util.osgi.manifest.parse
Class DummyParserLogger

java.lang.Object
  extended by com.springsource.util.osgi.manifest.parse.DummyParserLogger
All Implemented Interfaces:
ParserLogger

public class DummyParserLogger
extends java.lang.Object
implements ParserLogger

A dummy implementation of ParserLogger that swallows all error messages and always returns null from errorReports(). Concurrent Semantics
Thread-safe.


Constructor Summary
DummyParserLogger()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyParserLogger

public DummyParserLogger()
Method Detail

errorReports

public 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.

Specified by:
errorReports in interface ParserLogger
Returns:
String array of all log event messages since the parser was created or cleaned

outputErrorMsg

public 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.

Specified by:
outputErrorMsg in interface ParserLogger