org.mule.config.spring
Class MissingParserProblemReporter
java.lang.Object
org.springframework.beans.factory.parsing.FailFastProblemReporter
org.mule.config.spring.MissingParserProblemReporter
- All Implemented Interfaces:
- org.springframework.beans.factory.parsing.ProblemReporter
public class MissingParserProblemReporter
- extends org.springframework.beans.factory.parsing.FailFastProblemReporter
A very simple extension to FailFastProblemReporter
that intercepts errors related to missing definition parsers to give a more helpful message.
In the future we may want to replace this by something more sophisticated that allows
different problems to be resolved by different "pluggable" components...
Method Summary |
protected org.springframework.beans.factory.parsing.Problem |
extendProblemDetails(org.springframework.beans.factory.parsing.Problem problem)
|
void |
fatal(org.springframework.beans.factory.parsing.Problem problem)
|
protected boolean |
isMissingParser(org.springframework.beans.factory.parsing.Problem problem)
|
Methods inherited from class org.springframework.beans.factory.parsing.FailFastProblemReporter |
error, setLogger, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_PARSER_PREFIX
public static final String NO_PARSER_PREFIX
- See Also:
- Constant Field Values
MissingParserProblemReporter
public MissingParserProblemReporter()
fatal
public void fatal(org.springframework.beans.factory.parsing.Problem problem)
- Specified by:
fatal
in interface org.springframework.beans.factory.parsing.ProblemReporter
- Overrides:
fatal
in class org.springframework.beans.factory.parsing.FailFastProblemReporter
isMissingParser
protected boolean isMissingParser(org.springframework.beans.factory.parsing.Problem problem)
extendProblemDetails
protected org.springframework.beans.factory.parsing.Problem extendProblemDetails(org.springframework.beans.factory.parsing.Problem problem)
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.