public interface EndpointAnnotationParser
@Endpoint annotation.| Modifier and Type | Method and Description |
|---|---|
InboundEndpoint |
parseInboundEndpoint(Annotation annotation,
Map metaInfo)
Creates an inbound endpoint from the annotation.
|
OutboundEndpoint |
parseOutboundEndpoint(Annotation annotation,
Map metaInfo)
Creates an outbound endpoint from the annotation.
|
boolean |
supports(Annotation annotation,
Class clazz,
Member member)
Determines whether this parser can process the current annotation.
|
OutboundEndpoint parseOutboundEndpoint(Annotation annotation, Map metaInfo) throws MuleException
annotation - the annotation to processmetaInfo - any additional info that can be used to construct the endpoint. Typically a connector name might be
in this map so that all endpoints for the current object can share the same connectorOutboundEndpoint object configured according to the annotationMuleException - if the outbound endpoint cannot be created. A Mule-specific error will be thrown.InboundEndpoint parseInboundEndpoint(Annotation annotation, Map metaInfo) throws MuleException
annotation - the annotation to processmetaInfo - any additional info that can be used to construct the endpoint. Typically a connector name might be
in this map so that all endpoints for the current object can share the same connectorInboundEndpoint object configured according to the annotationMuleException - if the inbound endpoint cannot be created. A Mule-specific error will be thrown.boolean supports(Annotation annotation, Class clazz, Member member)
annotation - the annotation being processedclazz - the class on which the annotation was foundmember - the member on which the annotation was found inside the class. This is only set when the annotation
was either set on a Method, Field or Constructor
class member, otherwise this value is null.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.