|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageProcessorAnnotationParser
An SPI interface used for creating Routers from Annotations. Note that any Router annotations must be themselves
annotated with the OutboundRouter
annotation.
Method Summary | |
---|---|
MessageProcessor |
parseMessageProcessor(Annotation annotation)
Will create a Mule Router according to the annotation. |
boolean |
supports(Annotation annotation,
Class clazz,
Member member)
Determines whether this parser can process the current annotation. |
Method Detail |
---|
MessageProcessor parseMessageProcessor(Annotation annotation) throws MuleException
OutboundRouter
annotation.
annotation
- the current annotation being processed
MuleException
- 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |