org.mule.impl.annotations
Class AnnotatedServiceBuilder
java.lang.Object
org.mule.impl.annotations.AnnotatedServiceBuilder
public class AnnotatedServiceBuilder
- extends Object
This builder will process annotations on an object and create a Mule service using Router, endpoint and service annotation
to construct the service.
- Since:
- 3.0.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected MuleContext context
regProps
protected RegistryMap regProps
helper
protected AnnotatedEndpointHelper helper
parserFactory
protected AnnotationsParserFactory parserFactory
AnnotatedServiceBuilder
public AnnotatedServiceBuilder(MuleContext context)
throws MuleException
- Throws:
MuleException
getModel
public Model getModel()
setModel
public void setModel(Model model)
createObjectFactory
protected ObjectFactory createObjectFactory(Object object)
createService
public Service createService(Object object)
throws MuleException
- Throws:
MuleException
create
protected Service create(ObjectFactory componentFactory)
throws InitialisationException
- Throws:
InitialisationException
getValue
protected String getValue(String key)
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
processEndpointBindings
protected void processEndpointBindings(Class componentFactoryClass,
Service service)
throws MuleException
- Throws:
MuleException
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.