public class AnnotatedWsdlParser extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SCHEMA_WSDL |
Constructor and Description |
---|
AnnotatedWsdlParser(Logger logger) |
Modifier and Type | Method and Description |
---|---|
List<InvalidAnnotationException> |
getEncounteredErrors()
Get the errors encountered during the previous parsing.
|
List<AnnotatedMailOperation> |
parse(Document annotatedWsdl,
org.ow2.petals.component.framework.api.configuration.SuConfigurationParameters extensions,
String suRootPath)
Parse the annotated WSDL.
|
public static final String SCHEMA_WSDL
public AnnotatedWsdlParser(Logger logger)
public List<AnnotatedMailOperation> parse(Document annotatedWsdl, org.ow2.petals.component.framework.api.configuration.SuConfigurationParameters extensions, String suRootPath)
Parse the annotated WSDL.
If an annotated operation is invalid because of error using annotations, the operation is skipped.
annotatedWsdl
- The WSDL to parse containing BC Mail annotationsextensions
- BC Mail extensions of the JBI descriptor of the current provider. Can be null
if the WSDL is
correctly annotated and it is not needed to extract fields from the SU JBI descriptor.suRootPath
- The root directory of the service unitpublic List<InvalidAnnotationException> getEncounteredErrors()
Copyright © 2005-2018 Linagora. All Rights Reserved.