|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.endpoint.DefaultEndpointFactory
public class DefaultEndpointFactory
Field Summary | |
---|---|
static String |
ENDPOINT_REGISTRY_PREFIX
|
protected static Log |
logger
logger used by this class |
protected MuleContext |
muleContext
|
Constructor Summary | |
---|---|
DefaultEndpointFactory()
|
Method Summary | |
---|---|
protected ImmutableEndpoint |
getEndpoint(EndpointURI uri,
org.mule.endpoint.DefaultEndpointFactory.EndpointSource source)
|
EndpointBuilder |
getEndpointBuilder(String uri)
Used to retrieve the an EndpointBuilder equal to the one would be used to create an endpoint. This is useful if you need to customize a builder before creation of an endpoint as you can use this method to obtain the endpoint builder, custommize it and then call the factory methods that take a EndpointBuilder rather than a String. |
InboundEndpoint |
getInboundEndpoint(EndpointBuilder builder)
Creates an endpoint with the "INBOUND" role using the builder provided. |
InboundEndpoint |
getInboundEndpoint(EndpointURI uri)
|
InboundEndpoint |
getInboundEndpoint(String uri)
Creates an endpoint with the "INBOUND" role. |
OutboundEndpoint |
getOutboundEndpoint(EndpointBuilder builder)
Creates an endpoint with the "OUTBOUND" role using the builder provided. |
OutboundEndpoint |
getOutboundEndpoint(EndpointURI uri)
|
OutboundEndpoint |
getOutboundEndpoint(String uri)
Creates an endpoint with the "OUTBOUND" role. |
protected EndpointBuilder |
lookupEndpointBuilder(String endpointName)
|
protected ImmutableEndpoint |
registerEndpoint(ImmutableEndpoint endpoint)
|
void |
setMuleContext(MuleContext context)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final Log logger
public static final String ENDPOINT_REGISTRY_PREFIX
protected MuleContext muleContext
Constructor Detail |
---|
public DefaultEndpointFactory()
Method Detail |
---|
public InboundEndpoint getInboundEndpoint(String uri) throws MuleException
EndpointFactory
InboundEndpoint
interface is
currently used as the return type but this will be replaces by and more specific interface. SEE
MULE-2292
getInboundEndpoint
in interface EndpointFactory
uri
- endpoint identifier or uri
MuleException
public OutboundEndpoint getOutboundEndpoint(String uri) throws MuleException
EndpointFactory
OutboundEndpoint
interface is
currently used as the return type but this will be replaces by and more specific interface. SEE
MULE-2292
getOutboundEndpoint
in interface EndpointFactory
uri
- endpoint identifier or uri
MuleException
protected EndpointBuilder lookupEndpointBuilder(String endpointName)
public InboundEndpoint getInboundEndpoint(EndpointBuilder builder) throws MuleException
EndpointFactory
getInboundEndpoint
in interface EndpointFactory
MuleException
public OutboundEndpoint getOutboundEndpoint(EndpointBuilder builder) throws MuleException
EndpointFactory
getOutboundEndpoint
in interface EndpointFactory
MuleException
protected ImmutableEndpoint registerEndpoint(ImmutableEndpoint endpoint) throws RegistrationException
endpoint
-
RegistrationException
public EndpointBuilder getEndpointBuilder(String uri) throws MuleException
EndpointFactory
getEndpointBuilder
in interface EndpointFactory
uri
- endpoint identifier or uri
MuleException
EndpointBuilder
,
EndpointURIEndpointBuilder
public void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
public InboundEndpoint getInboundEndpoint(EndpointURI uri) throws MuleException
getInboundEndpoint
in interface EndpointFactory
MuleException
public OutboundEndpoint getOutboundEndpoint(EndpointURI uri) throws MuleException
getOutboundEndpoint
in interface EndpointFactory
MuleException
protected ImmutableEndpoint getEndpoint(EndpointURI uri, org.mule.endpoint.DefaultEndpointFactory.EndpointSource source) throws MuleException
MuleException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |