com.springsource.bundlor.util
Class SimpleParserLogger
java.lang.Object
com.springsource.bundlor.util.SimpleParserLogger
- All Implemented Interfaces:
- com.springsource.util.osgi.manifest.parse.ParserLogger
public class SimpleParserLogger
- extends java.lang.Object
- implements com.springsource.util.osgi.manifest.parse.ParserLogger
A simple implementation of ParserLogger
that outputs message to console
Concurrent Semantics
Threadsafe
- Author:
- Ben Hale
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
used
private volatile boolean used
messages
private final java.util.List<java.lang.String> messages
messagesMonitor
private final java.lang.Object messagesMonitor
SimpleParserLogger
public SimpleParserLogger()
errorReports
public java.lang.String[] errorReports()
-
- Specified by:
errorReports
in interface com.springsource.util.osgi.manifest.parse.ParserLogger
outputErrorMsg
public void outputErrorMsg(java.lang.Exception re,
java.lang.String item)
-
- Specified by:
outputErrorMsg
in interface com.springsource.util.osgi.manifest.parse.ParserLogger