where protocol is the
protocol of the connector to be created The service descriptor is in the form of
string key value pairs and supports a number of properties, descriptions of which
can be found here: http://www.muledocs.org/Transport+Service+Descriptors.
Field Summary |
protected static Log |
logger
logger used by this class |
logger
protected static final Log logger
- logger used by this class
TransportServiceDescriptor
public TransportServiceDescriptor(String protocol,
String serviceLocation,
Properties props)
getProtocol
public String getProtocol()
getServiceLocation
public String getServiceLocation()
getServiceError
public String getServiceError()
getConnector
public String getConnector()
getConnectorFactory
public String getConnectorFactory()
getDispatcherFactory
public String getDispatcherFactory()
getMessageReceiver
public String getMessageReceiver()
getTransactedMessageReceiver
public String getTransactedMessageReceiver()
getXaTransactedMessageReceiver
public String getXaTransactedMessageReceiver()
getDefaultInboundTransformer
public String getDefaultInboundTransformer()
getDefaultOutboundTransformer
public String getDefaultOutboundTransformer()
getMessageAdapter
public String getMessageAdapter()
getProperties
public Properties getProperties()
getEndpointBuilder
public String getEndpointBuilder()
getServiceFinder
public String getServiceFinder()
getStreamMessageAdapter
public String getStreamMessageAdapter()
getTransactionFactory
public String getTransactionFactory()
getConnectorServiceFinder
public TransportServiceFinder getConnectorServiceFinder()
getSessionHandler
public String getSessionHandler()
createServiceFinder
public TransportServiceFinder createServiceFinder()
throws TransportServiceException
- Throws:
TransportServiceException
getDefaultResponseTransformer
public String getDefaultResponseTransformer()
createMessageAdapter
public UMOMessageAdapter createMessageAdapter(Object message)
throws TransportServiceException
- Throws:
TransportServiceException
createStreamMessageAdapter
public UMOStreamMessageAdapter createStreamMessageAdapter(InputStream in,
OutputStream out)
throws TransportServiceException
- Throws:
TransportServiceException
createMessageAdapter
protected UMOMessageAdapter createMessageAdapter(Object message,
String clazz)
throws TransportServiceException
- Throws:
TransportServiceException
createSessionHandler
public UMOSessionHandler createSessionHandler()
throws TransportServiceException
- Throws:
TransportServiceException
createMessageReceiver
public UMOMessageReceiver createMessageReceiver(UMOConnector connector,
UMOComponent component,
UMOEndpoint endpoint)
throws UMOException
- Throws:
UMOException
createMessageReceiver
public UMOMessageReceiver createMessageReceiver(UMOConnector connector,
UMOComponent component,
UMOEndpoint endpoint,
Object[] args)
throws UMOException
- Throws:
UMOException
createDispatcherFactory
public UMOMessageDispatcherFactory createDispatcherFactory()
throws TransportServiceException
- Throws:
TransportServiceException
createTransactionFactory
public UMOTransactionFactory createTransactionFactory()
throws TransportServiceException
- Throws:
TransportServiceException
createConnector
public UMOConnector createConnector(String protocol)
throws TransportServiceException
- Throws:
TransportServiceException
createInboundTransformer
public UMOTransformer createInboundTransformer()
throws TransportFactoryException
- Throws:
TransportFactoryException
createNewInboundTransformer
public UMOTransformer createNewInboundTransformer()
throws TransportFactoryException
- Throws:
TransportFactoryException
createOutboundTransformer
public UMOTransformer createOutboundTransformer()
throws TransportFactoryException
- Throws:
TransportFactoryException
createNewOutboundTransformer
public UMOTransformer createNewOutboundTransformer()
throws TransportFactoryException
- Throws:
TransportFactoryException
createResponseTransformer
public UMOTransformer createResponseTransformer()
throws TransportFactoryException
- Throws:
TransportFactoryException
createNewResponseTransformer
public UMOTransformer createNewResponseTransformer()
throws TransportFactoryException
- Throws:
TransportFactoryException
createEndpointBuilder
public EndpointBuilder createEndpointBuilder()
throws TransportFactoryException
- Throws:
TransportFactoryException
equals
public boolean equals(Object o)
hashCode
public int hashCode()
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.