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 uriMuleExceptionOutboundEndpoint 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-2292
To add an outbound endpoint in a pipeline an honor the execution context of an endpoint a org.mule.api.endpoint.OutboundEndpointExecutorFactory must
be used to wrap the outbound endpoint.uri - endpoint identifier or uriMuleExceptionInboundEndpoint getInboundEndpoint(EndpointBuilder builder) throws MuleException
builder - MuleExceptionOutboundEndpoint getOutboundEndpoint(EndpointBuilder builder) throws MuleException
org.mule.api.endpoint.OutboundEndpointExecutorFactory must
be used to wrap the outbound endpoint.builder - MuleException@Deprecated InboundEndpoint getInboundEndpoint(EndpointURI endpointUri) throws MuleException
endpointUri - MuleException@Deprecated OutboundEndpoint getOutboundEndpoint(EndpointURI endpointUri) throws MuleException
endpointUri - MuleExceptionEndpointBuilder getEndpointBuilder(String uri) throws MuleException
uri - endpoint identifier or uriMuleExceptionEndpointBuilder,
EndpointURIEndpointBuilderCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.