org.mule.config.processors
Class DecoratingAnnotatedServiceProcessor
java.lang.Object
org.mule.config.processors.DecoratingAnnotatedServiceProcessor
- All Implemented Interfaces:
- MuleContextAware, ObjectProcessor, PreInitProcessor
public class DecoratingAnnotatedServiceProcessor
- extends Object
- implements PreInitProcessor, MuleContextAware
This object processor allows users to register annotated services directly to the registry
and have them configured correctly.
It will look for a non-system Model
registered with the Registry.
If one is not found a default SEDA Model will be created
Finally, the processor will register the service with the Registry and return null.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final transient Log logger
- logger used by this class
context
protected MuleContext context
regProps
protected RegistryMap regProps
helper
protected AnnotatedEndpointHelper helper
parserFactory
protected AnnotationsParserFactory parserFactory
DecoratingAnnotatedServiceProcessor
public DecoratingAnnotatedServiceProcessor()
DecoratingAnnotatedServiceProcessor
public DecoratingAnnotatedServiceProcessor(MuleContext context)
setMuleContext
public void setMuleContext(MuleContext context)
- Specified by:
setMuleContext
in interface MuleContextAware
process
public Object process(Object object)
- Specified by:
process
in interface ObjectProcessor
processInbound
protected void processInbound(Class componentFactoryClass,
Service service)
throws MuleException
- Throws:
MuleException
processInboundRouters
protected void processInboundRouters(Class componentFactoryClass,
Service service)
throws MuleException
- Throws:
MuleException
processReplyRouters
protected void processReplyRouters(Class componentFactoryClass,
Service service)
throws MuleException
- Throws:
MuleException
processOutboundRouter
protected OutboundRouter processOutboundRouter(Class componentFactoryClass)
throws MuleException
- Throws:
MuleException
processOutbound
protected void processOutbound(Class componentFactoryClass,
Service service)
throws MuleException
- Throws:
MuleException
tryInboundEndpointAnnotation
protected InboundEndpoint tryInboundEndpointAnnotation(AnnotationMetaData metaData,
ChannelType channelType)
throws MuleException
- Throws:
MuleException
tryOutboundEndpointAnnotation
protected OutboundEndpoint tryOutboundEndpointAnnotation(AnnotationMetaData metaData,
ChannelType channelType)
throws MuleException
- Throws:
MuleException
processReply
protected void processReply(Class componentFactoryClass,
Service service)
throws MuleException
- Throws:
MuleException
getValue
protected String getValue(String key)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.