org.mule.providers.soap.axis
Class AxisConnector
java.lang.Object
org.mule.providers.AbstractConnector
org.mule.providers.AbstractServiceEnabledConnector
org.mule.providers.soap.axis.AxisConnector
- All Implemented Interfaces:
- Disposable, ExceptionListener, Initialisable, ModelNotificationListener, UMOConnectable, UMOConnector, UMOServerNotificationListener
- Direct Known Subclasses:
- AxisWsdlConnector
- public class AxisConnector
- extends AbstractServiceEnabledConnector
- implements ModelNotificationListener
AxisConnector is used to maintain one or more Services for Axis
server instance.
Some of the Axis specific service initialisation code was
adapted from the Ivory project (http://ivory.codehaus.org). Thanks guys :)
- Version:
- $Revision: 3798 $
- Author:
- Ross Mason
| Fields inherited from class org.mule.providers.AbstractConnector |
connected, connecting, createDispatcherPerRequest, createMultipleTransactedReceivers, defaultInboundTransformer, defaultOutboundTransformer, defaultResponseTransformer, dispatcherFactory, dispatchers, disposed, disposing, exceptionListener, initialised, logger, name, receivers, serverSide, sessionHandler, started, startOnConnect |
| Methods inherited from class org.mule.providers.AbstractConnector |
checkDisposed, connect, createDispatcher, destroyReceiver, disconnect, dispose, disposeDispatchers, disposeReceivers, doConnect, doDisconnect, doDispose, exceptionThrown, fireNotification, getConnectEventId, getConnectionDescription, getConnectionStrategy, getDefaultInboundTransformer, getDefaultOutboundTransformer, getDefaultResponseTransformer, getDispatcher, getDispatcher, getDispatcherFactory, getDispatchers, getDispatcherThreadingProfile, getExceptionListener, getName, getReceiver, getReceiver, getReceivers, getReceivers, getReceiverThreadingProfile, getReplyToHandler, getSessionHandler, getSupportedProtocols, handleException, handleWorkException, initialise, isConnected, isCreateDispatcherPerRequest, isCreateMultipleTransactedReceivers, isDisposed, isDisposing, isEnableMessageEvents, isRemoteSyncEnabled, isServerSide, isStarted, isUseSingleDispatcherThreadPool, isUseSingleReceiverThreadPool, lookupDispatcher, lookupReceiver, registerListener, registerSupportedProtocol, registerSupportedProtocolWithotPrefix, setConnectionStrategy, setCreateDispatcherPerRequest, setCreateMultipleTransactedReceivers, setDefaultInboundTransformer, setDefaultOutboundTransformer, setDefaultResponseTransformer, setDispatcherFactory, setDispatcherThreadingProfile, setEnableMessageEvents, setExceptionListener, setName, setReceiverThreadingProfile, setServerSide, setSessionHandler, setSupportedProtocols, setUseSingleDispatcherThreadPool, setUseSingleReceiverThreadPool, startConnector, stopConnector, supportsProtocol, unregisterListener, unregisterSupportedProtocol, workAccepted, workCompleted, workRejected, workStarted |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QNAME_MULE_PROVIDER
public static final QName QNAME_MULE_PROVIDER
QNAME_MULE_TYPE_MAPPINGS
public static final QName QNAME_MULE_TYPE_MAPPINGS
DEFAULT_MULE_NAMESPACE_URI
public static final String DEFAULT_MULE_NAMESPACE_URI
- See Also:
- Constant Field Values
DEFAULT_MULE_AXIS_SERVER_CONFIG
public static final String DEFAULT_MULE_AXIS_SERVER_CONFIG
- See Also:
- Constant Field Values
DEFAULT_MULE_AXIS_CLIENT_CONFIG
public static final String DEFAULT_MULE_AXIS_CLIENT_CONFIG
- See Also:
- Constant Field Values
AXIS_SERVICE_COMPONENT_NAME
public static final String AXIS_SERVICE_COMPONENT_NAME
- See Also:
- Constant Field Values
AXIS_SERVICE_PROPERTY
public static final String AXIS_SERVICE_PROPERTY
- See Also:
- Constant Field Values
AXIS_CLIENT_CONFIG_PROPERTY
public static final String AXIS_CLIENT_CONFIG_PROPERTY
- See Also:
- Constant Field Values
SERVICE_PROPERTY_COMPONENT_NAME
public static final String SERVICE_PROPERTY_COMPONENT_NAME
- See Also:
- Constant Field Values
SERVICE_PROPERTY_SERVCE_PATH
public static final String SERVICE_PROPERTY_SERVCE_PATH
- See Also:
- Constant Field Values
WSDL_URL_PROPERTY
public static final String WSDL_URL_PROPERTY
- See Also:
- Constant Field Values
AxisConnector
public AxisConnector()
registerProtocols
protected void registerProtocols()
doInitialise
public void doInitialise()
throws InitialisationException
- Overrides:
doInitialise in class AbstractServiceEnabledConnector
- Throws:
InitialisationException
registerTransportTypes
protected void registerTransportTypes()
throws ClassNotFoundException
- Throws:
ClassNotFoundException
createAxisProvider
protected SimpleProvider createAxisProvider(String config)
throws InitialisationException
- Throws:
InitialisationException
getProtocol
public String getProtocol()
- Specified by:
getProtocol in interface UMOConnector- Specified by:
getProtocol in class AbstractConnector
getReceiverKey
protected Object getReceiverKey(UMOComponent component,
UMOEndpoint endpoint)
- The method determines the key used to store the receiver against.
- Overrides:
getReceiverKey in class AbstractConnector
- Parameters:
component - the component for which the endpoint is being registeredendpoint - the endpoint being registered for the component
- Returns:
- the key to store the newly created receiver against. In this case it
is the component name, which is equivilent to the Axis service name.
createReceiver
public UMOMessageReceiver createReceiver(UMOComponent component,
UMOEndpoint endpoint)
throws Exception
- Overrides:
createReceiver in class AbstractServiceEnabledConnector
- Throws:
Exception
unregisterReceiverWithMuleService
protected void unregisterReceiverWithMuleService(UMOMessageReceiver receiver,
UMOEndpointURI ep)
throws UMOException
- Throws:
UMOException
registerReceiverWithMuleService
protected void registerReceiverWithMuleService(UMOMessageReceiver receiver,
UMOEndpointURI ep)
throws UMOException
- Throws:
UMOException
createAxisDescriptor
protected MuleDescriptor createAxisDescriptor()
doStart
protected void doStart()
throws UMOException
- Template method to perform any work when starting the connectoe
- Overrides:
doStart in class AbstractConnector
- Throws:
UMOException - if the method fails
doStop
protected void doStop()
throws UMOException
- Template method to perform any work when stopping the connectoe
- Overrides:
doStop in class AbstractConnector
- Throws:
UMOException - if the method fails
getServerConfig
public String getServerConfig()
setServerConfig
public void setServerConfig(String serverConfig)
getBeanTypes
public List getBeanTypes()
setBeanTypes
public void setBeanTypes(List beanTypes)
getClientConfig
public String getClientConfig()
setClientConfig
public void setClientConfig(String clientConfig)
getAxisServer
public AxisServer getAxisServer()
setAxisServer
public void setAxisServer(AxisServer axisServer)
getServerProvider
public SimpleProvider getServerProvider()
setServerProvider
public void setServerProvider(SimpleProvider serverProvider)
getClientProvider
public SimpleProvider getClientProvider()
setClientProvider
public void setClientProvider(SimpleProvider clientProvider)
getAxisTransportProtocols
public Map getAxisTransportProtocols()
setAxisTransportProtocols
public void setAxisTransportProtocols(Map axisTransportProtocols)
getSupportedSchemes
public List getSupportedSchemes()
setSupportedSchemes
public void setSupportedSchemes(List supportedSchemes)
isDoAutoTypes
public boolean isDoAutoTypes()
setDoAutoTypes
public void setDoAutoTypes(boolean doAutoTypes)
isTreatMapAsNamedParams
public boolean isTreatMapAsNamedParams()
setTreatMapAsNamedParams
public void setTreatMapAsNamedParams(boolean treatMapAsNamedParams)
onNotification
public void onNotification(UMOServerNotification notification)
- Specified by:
onNotification in interface UMOServerNotificationListener
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.