public class ScheduleAnnotationParser extends AbstractEndpointAnnotationParser
ENDPOINT_BUILDER_POSTFIX, muleContext
Constructor and Description |
---|
ScheduleAnnotationParser() |
Modifier and Type | Method and Description |
---|---|
protected AnnotatedEndpointData |
createEndpointData(Annotation annotation) |
protected QuartzConnector |
getConnector() |
protected String |
getIdentifier() |
protected String[] |
getProperties(Schedule schedule) |
InboundEndpoint |
parseInboundEndpoint(Annotation annotation,
Map metaInfo)
Creates an inbound endpoint from the annotation.
|
boolean |
supports(Annotation annotation,
Class clazz,
Member member)
Validates that this parser can parse the supplied annotation.
|
convertProperties, getEndpointHelper, lookupConfig, parseOutboundEndpoint, setMuleContext
public InboundEndpoint parseInboundEndpoint(Annotation annotation, Map metaInfo) throws MuleException
EndpointAnnotationParser
parseInboundEndpoint
in interface EndpointAnnotationParser
parseInboundEndpoint
in class AbstractEndpointAnnotationParser
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.protected AnnotatedEndpointData createEndpointData(Annotation annotation) throws MuleException
createEndpointData
in class AbstractEndpointAnnotationParser
MuleException
protected String[] getProperties(Schedule schedule) throws MuleException
MuleException
protected String getIdentifier()
getIdentifier
in class AbstractEndpointAnnotationParser
protected QuartzConnector getConnector() throws MuleException
MuleException
public boolean supports(Annotation annotation, Class clazz, Member member)
Schedule
supports
in interface EndpointAnnotationParser
supports
in class AbstractEndpointAnnotationParser
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 members, otherwise this value is null.IllegalArgumentException
- if the class parameter is an interfaceCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.