public interface EndpointFactory extends MuleContextAware
ImmutableEndpoint. These endpoints may be Registry should be used to lookup/create endpoints.| Modifier and Type | Method and Description |
|---|---|
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 endpointUri)
Deprecated.
|
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 endpointUri)
Deprecated.
|
OutboundEndpoint |
getOutboundEndpoint(String uri)
Creates an endpoint with the "OUTBOUND" role.
|
setMuleContextInboundEndpoint getInboundEndpoint(String uri) throws MuleException
InboundEndpoint interface is
currently used as the return type but this will be replaces by and more specific interface. SEE
MULE-2292uri - endpoint identifier or urimuleContext - MuleExceptionOutboundEndpoint getOutboundEndpoint(String uri) throws MuleException
OutboundEndpoint interface is
currently used as the return type but this will be replaces by and more specific interface. SEE
MULE-2292uri - endpoint identifier or urimuleContext - MuleExceptionInboundEndpoint getInboundEndpoint(EndpointBuilder builder) throws MuleException
builder - muleContext - MuleExceptionOutboundEndpoint getOutboundEndpoint(EndpointBuilder builder) throws MuleException
builder - muleContext - MuleExceptionInboundEndpoint getInboundEndpoint(EndpointURI endpointUri) throws MuleException
endpointUri - MuleExceptionOutboundEndpoint getOutboundEndpoint(EndpointURI endpointUri) throws MuleException
endpointUri - MuleExceptionEndpointBuilder getEndpointBuilder(String uri) throws MuleException
uri - endpoint identifier or urimuleContext - MuleExceptionEndpointBuilder,
EndpointURIEndpointBuilderCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.