public abstract class LocationExecutionContextProvider extends Object implements ExceptionContextProvider
Constructor and Description |
---|
LocationExecutionContextProvider() |
Modifier and Type | Method and Description |
---|---|
static void |
addMetadataAnnotationsFromXml(Map<QName,Object> beanAnnotations,
String fileName,
int lineNumber,
String xmlContent)
Populates the passed beanAnnotations with the other passed parameters.
|
static String |
getDocName(Object element) |
protected static String |
getSourceFile(AnnotatedObject element) |
protected static Integer |
getSourceFileLine(AnnotatedObject element) |
protected static String |
getSourceXML(AnnotatedObject element) |
static String |
resolveProcessorRepresentation(String appId,
String processorPath,
Object element)
Generates a representation of a flow element to be logged in a standard way.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContextInfo
public static void addMetadataAnnotationsFromXml(Map<QName,Object> beanAnnotations, String fileName, int lineNumber, String xmlContent)
beanAnnotations
- the map with annotations to populatefileName
- the name of the file where the element definition was read from.lineNumber
- the line number where the definition of the element starts in the file.xmlContent
- the xml representation of the element definition.public static String resolveProcessorRepresentation(String appId, String processorPath, Object element)
appId
- processorPath
- element
- public static String getDocName(Object element)
element
- the element to get the doc:name
from.doc:name
attribute value of the element.protected static String getSourceFile(AnnotatedObject element)
protected static Integer getSourceFileLine(AnnotatedObject element)
protected static String getSourceXML(AnnotatedObject element)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.