public class DefaultTransportServiceDescriptor extends AbstractServiceDescriptor implements TransportServiceDescriptor
AbstractServiceDescriptor.Key
logger, service
OSGI_HEADER_TRANSPORT
Constructor and Description |
---|
DefaultTransportServiceDescriptor(String service,
Properties props,
ClassLoader classLoader) |
getService, removeClassProperty, removeProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getService
public DefaultTransportServiceDescriptor(String service, Properties props, ClassLoader classLoader)
protected void init(Properties props)
public void setOverrides(Properties props)
public void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
public MuleMessageFactory createMuleMessageFactory() throws TransportServiceException
createMuleMessageFactory
in interface TransportServiceDescriptor
TransportServiceException
public SessionHandler createSessionHandler() throws TransportServiceException
createSessionHandler
in interface TransportServiceDescriptor
TransportServiceException
public MessageReceiver createMessageReceiver(Connector connector, FlowConstruct flowConstruct, InboundEndpoint endpoint) throws MuleException
createMessageReceiver
in interface TransportServiceDescriptor
MuleException
public MessageReceiver createMessageReceiver(Connector connector, FlowConstruct flowConstruct, InboundEndpoint endpoint, Object... args) throws MuleException
createMessageReceiver
in interface TransportServiceDescriptor
MuleException
public MessageDispatcherFactory createDispatcherFactory() throws TransportServiceException
createDispatcherFactory
in interface TransportServiceDescriptor
TransportServiceException
public MessageRequesterFactory createRequesterFactory() throws TransportServiceException
createRequesterFactory
in interface TransportServiceDescriptor
TransportServiceException
public TransactionFactory createTransactionFactory() throws TransportServiceException
createTransactionFactory
in interface TransportServiceDescriptor
TransportServiceException
public Connector createConnector() throws TransportServiceException
createConnector
in interface TransportServiceDescriptor
TransportServiceException
public List<Transformer> createInboundTransformers(ImmutableEndpoint endpoint) throws TransportFactoryException
createInboundTransformers
in interface TransportServiceDescriptor
TransportFactoryException
public List<Transformer> createOutboundTransformers(ImmutableEndpoint endpoint) throws TransportFactoryException
createOutboundTransformers
in interface TransportServiceDescriptor
TransportFactoryException
public List<Transformer> createResponseTransformers(ImmutableEndpoint endpoint) throws TransportFactoryException
createResponseTransformers
in interface TransportServiceDescriptor
TransportFactoryException
protected Transformer createTransformer(String className, ImmutableEndpoint endpoint) throws Exception
Exception
public EndpointURIBuilder createEndpointURIBuilder() throws TransportFactoryException
createEndpointURIBuilder
in interface TransportServiceDescriptor
TransportFactoryException
public EndpointBuilder createEndpointBuilder(String uri) throws TransportFactoryException
createEndpointBuilder
in interface TransportServiceDescriptor
TransportFactoryException
public EndpointBuilder createEndpointBuilder(String uri, MuleContext muleContext) throws TransportFactoryException
TransportServiceDescriptor
EndpointBuilder
createEndpointBuilder
in interface TransportServiceDescriptor
uri
- address for the created endpointsmuleContext
- context of the application owning endpoint builderTransportFactoryException
public EndpointBuilder createEndpointBuilder(EndpointURIEndpointBuilder builder) throws TransportFactoryException
createEndpointBuilder
in interface TransportServiceDescriptor
TransportFactoryException
public EndpointBuilder createEndpointBuilder(EndpointURIEndpointBuilder builder, MuleContext muleContext) throws TransportFactoryException
TransportServiceDescriptor
EndpointBuilder
wrapping an existing buildercreateEndpointBuilder
in interface TransportServiceDescriptor
builder
- instance to be wrappedmuleContext
- context of the application owning endpoint builderTransportFactoryException
protected EndpointBuilder createEndpointBuilder(Object[] constructorParams) throws TransportFactoryException
TransportFactoryException
public void setExceptionMappings(Properties props)
setExceptionMappings
in interface TransportServiceDescriptor
public Properties getExceptionMappings()
getExceptionMappings
in interface TransportServiceDescriptor
protected void initInboundExchangePatterns(Properties properties)
protected void initOutboundExchangePatterns(Properties properties)
protected List<MessageExchangePattern> parseExchangePatterns(String mepsString)
public List<MessageExchangePattern> getInboundExchangePatterns() throws TransportServiceException
getInboundExchangePatterns
in interface TransportServiceDescriptor
TransportServiceException
public List<MessageExchangePattern> getOutboundExchangePatterns() throws TransportServiceException
getOutboundExchangePatterns
in interface TransportServiceDescriptor
TransportServiceException
public MessageExchangePattern getDefaultExchangePattern() throws TransportServiceException
getDefaultExchangePattern
in interface TransportServiceDescriptor
TransportServiceException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.