public class JAXBContextResolver extends org.mule.config.transformer.AbstractAnnotatedTransformerArgumentResolver
JAXBContext to the method signature.
IF there is no shared JAXB context one will be created. First this resolver will attempt to create the context from
the package of the the annotated class, for this to work either a jaxb.index file must be present or an ObjectFactory
must be in the package. This allows for JAXB generated classes to be used easily. If this method fails a context will
be created using just the annotated class to initialise the context.ignoredPackages, loggerPHASE_NAME| Constructor and Description |
|---|
JAXBContextResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
createArgument(Class annotatedType,
MuleContext muleContext) |
protected String |
getAnnotationsPackageName() |
protected Class |
getArgumentClass() |
dispose, findAnnotation, getMatchingClasses, getNonMatchingClasses, isNonMatching, resolveprotected Class getArgumentClass()
getArgumentClass in class org.mule.config.transformer.AbstractAnnotatedTransformerArgumentResolverprotected Object createArgument(Class annotatedType, MuleContext muleContext) throws Exception
createArgument in class org.mule.config.transformer.AbstractAnnotatedTransformerArgumentResolverExceptionprotected String getAnnotationsPackageName()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.