where protocol is the protocol of the connector to be created
The service descriptor is on the form ok key value pairs and supports the following properties
connector=org.mule.umo.providers.AbstractServiceEnabledConnector - The connector class
conector.factory=org.mule.util.ObjectFactory - A connector factory class to use, this is used instead of the 'connector' property if set
dispatcher.factory=org.mule.umo.providers.UMOMessageDispatcherFactory - tHe dispatcher factory class to use
message.adapter=org.mule.umo.providers.UMOMessageAdapter - The message adater class to use
message.receiver=org.mule.umo.providers.UMOMessageReceiver - The message receiver class to use
service.error= This should only be set if the connector described cannot be created directly from this descriptor. In the case
of Jms this would be set as the JmsConnector also needs Jndi information.
inbound.transformer=org.mule.umo.UMOTransformer - The default inbound transformer to use by endpoints if no other is set
outbound.transformer=org.mule.umo.UMOTransformer - The default outbound transformer to use by endpoints if no other is set
Any other properties set in the descriptor are made available using the getParams() method on this
discriptor.
- Version:
- $Revision: 1.3 $
- Author:
- Ross Mason
Field Summary |
protected static Log |
logger
logger used by this class |
Constructor Summary |
ConnectorServiceDescriptor(java.lang.String protocol,
java.lang.String serviceLocation,
java.util.Properties props)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
logger
protected static transient Log logger
- logger used by this class
ConnectorServiceDescriptor
public ConnectorServiceDescriptor(java.lang.String protocol,
java.lang.String serviceLocation,
java.util.Properties props)
getProtocol
public java.lang.String getProtocol()
getServiceLocation
public java.lang.String getServiceLocation()
getServiceError
public java.lang.String getServiceError()
getConnector
public java.lang.String getConnector()
getConnectorFactory
public java.lang.String getConnectorFactory()
getDispatcherFactory
public java.lang.String getDispatcherFactory()
getMessageReceiver
public java.lang.String getMessageReceiver()
getDefaultInboundTransformer
public java.lang.String getDefaultInboundTransformer()
getDefaultOutboundTransformer
public java.lang.String getDefaultOutboundTransformer()
getMessageAdapter
public java.lang.String getMessageAdapter()
getProperties
public java.util.Properties getProperties()
getEndpointBuilder
public java.lang.String getEndpointBuilder()
getServiceFinder
public java.lang.String getServiceFinder()
createServiceFinder
public ConnectorServiceFinder createServiceFinder()
throws ConnectorServiceException
- Throws:
ConnectorServiceException
getDefaultResponseTransformer
public java.lang.String getDefaultResponseTransformer()
createMessageAdapter
public UMOMessageAdapter createMessageAdapter(java.lang.Object message)
throws ConnectorServiceException
- Throws:
ConnectorServiceException
createMessageReceiver
public UMOMessageReceiver createMessageReceiver(UMOConnector connector,
UMOComponent component,
UMOEndpoint endpoint)
throws UMOException
- Throws:
UMOException
createMessageReceiver
public UMOMessageReceiver createMessageReceiver(UMOConnector connector,
UMOComponent component,
UMOEndpoint endpoint,
java.lang.Object[] args)
throws UMOException
- Throws:
UMOException
createDispatcherFactory
public UMOMessageDispatcherFactory createDispatcherFactory()
throws ConnectorServiceException
- Throws:
ConnectorServiceException
createTransactionFactory
public UMOTransactionFactory createTransactionFactory()
throws ConnectorServiceException
- Throws:
ConnectorServiceException
createConnector
public UMOConnector createConnector(java.lang.String protocol)
throws ConnectorServiceException
- Throws:
ConnectorServiceException
createInboundTransformer
public UMOTransformer createInboundTransformer()
throws ConnectorFactoryException
- Throws:
ConnectorFactoryException
createOutboundTransformer
public UMOTransformer createOutboundTransformer()
throws ConnectorFactoryException
- Throws:
ConnectorFactoryException
createResponseTransformer
public UMOTransformer createResponseTransformer()
throws ConnectorFactoryException
- Throws:
ConnectorFactoryException
createEndpointBuilder
public EndpointBuilder createEndpointBuilder()
throws ConnectorFactoryException
- Throws:
ConnectorFactoryException
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.