|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.providers.AbstractConnector
org.mule.providers.soap.axis.AxisConnector
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 :)
Field Summary | |
static String |
AXIS_CLIENT_CONFIG_PROPERTY
|
static String |
AXIS_SERVICE_COMPONENT_NAME
|
static String |
AXIS_SERVICE_PROPERTY
|
static String |
DEFAULT_MULE_AXIS_CLIENT_CONFIG
|
static String |
DEFAULT_MULE_AXIS_SERVER_CONFIG
|
static String |
DEFAULT_MULE_NAMESPACE_URI
|
static javax.xml.namespace.QName |
QNAME_MULE_PROVIDER
|
static javax.xml.namespace.QName |
QNAME_MULE_TYPE_MAPPINGS
|
static String |
SERVICE_PROPERTY_COMPONENT_NAME
|
static String |
SERVICE_PROPERTY_SERVCE_PATH
|
static String |
WSDL_URL_PROPERTY
|
Fields inherited from interface org.mule.umo.provider.UMOConnector |
INT_VALUE_NOT_SET |
Constructor Summary | |
AxisConnector()
|
Method Summary | |
protected MuleDescriptor |
createAxisDescriptor()
|
protected org.apache.axis.configuration.SimpleProvider |
createAxisProvider(String config)
|
UMOMessageReceiver |
createReceiver(UMOComponent component,
UMOEndpoint endpoint)
Create a Message receiver for this connector |
protected void |
doConnect()
Template method where any connections should be made for the connector |
protected void |
doDisconnect()
Template method where any connected resources used by the connector should be disconnected |
protected void |
doDispose()
Template method to perform any work when destroying the connectoe |
protected void |
doInitialise()
|
protected void |
doStart()
Template method to perform any work when starting the connectoe |
protected void |
doStop()
Template method to perform any work when stopping the connectoe |
org.apache.axis.server.AxisServer |
getAxisServer()
|
Map |
getAxisTransportProtocols()
|
List |
getBeanTypes()
|
String |
getClientConfig()
|
org.apache.axis.configuration.SimpleProvider |
getClientProvider()
|
String |
getProtocol()
|
protected Object |
getReceiverKey(UMOComponent component,
UMOEndpoint endpoint)
The method determines the key used to store the receiver against. |
String |
getServerConfig()
|
org.apache.axis.configuration.SimpleProvider |
getServerProvider()
|
List |
getSupportedSchemes()
|
boolean |
isDoAutoTypes()
|
boolean |
isTreatMapAsNamedParams()
|
void |
onNotification(UMOServerNotification notification)
|
protected void |
registerProtocols()
|
protected void |
registerReceiverWithMuleService(UMOMessageReceiver receiver,
UMOEndpointURI ep)
|
protected void |
registerTransportTypes()
|
void |
setAxisServer(org.apache.axis.server.AxisServer axisServer)
|
void |
setAxisTransportProtocols(Map axisTransportProtocols)
|
void |
setBeanTypes(List beanTypes)
|
void |
setClientConfig(String clientConfig)
|
void |
setClientProvider(org.apache.axis.configuration.SimpleProvider clientProvider)
|
void |
setDoAutoTypes(boolean doAutoTypes)
|
void |
setServerConfig(String serverConfig)
|
void |
setServerProvider(org.apache.axis.configuration.SimpleProvider serverProvider)
|
void |
setSupportedSchemes(List supportedSchemes)
|
void |
setTreatMapAsNamedParams(boolean treatMapAsNamedParams)
|
protected void |
unregisterReceiverWithMuleService(UMOMessageReceiver receiver,
UMOEndpointURI ep)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final javax.xml.namespace.QName QNAME_MULE_PROVIDER
public static final javax.xml.namespace.QName QNAME_MULE_TYPE_MAPPINGS
public static final String DEFAULT_MULE_NAMESPACE_URI
public static final String DEFAULT_MULE_AXIS_SERVER_CONFIG
public static final String DEFAULT_MULE_AXIS_CLIENT_CONFIG
public static final String AXIS_SERVICE_COMPONENT_NAME
public static final String AXIS_SERVICE_PROPERTY
public static final String AXIS_CLIENT_CONFIG_PROPERTY
public static final String SERVICE_PROPERTY_COMPONENT_NAME
public static final String SERVICE_PROPERTY_SERVCE_PATH
public static final String WSDL_URL_PROPERTY
Constructor Detail |
public AxisConnector()
Method Detail |
protected void registerProtocols()
protected void doInitialise() throws InitialisationException
doInitialise
in class AbstractConnector
InitialisationException
protected void registerTransportTypes() throws ClassNotFoundException
ClassNotFoundException
protected org.apache.axis.configuration.SimpleProvider createAxisProvider(String config) throws InitialisationException
InitialisationException
public String getProtocol()
getProtocol
in interface UMOConnector
protected Object getReceiverKey(UMOComponent component, UMOEndpoint endpoint)
getReceiverKey
in class AbstractConnector
component
- the component for which the endpoint is being registeredendpoint
- the endpoint being registered for the component
public UMOMessageReceiver createReceiver(UMOComponent component, UMOEndpoint endpoint) throws Exception
AbstractConnector
createReceiver
in class AbstractConnector
component
- the component that will receive events from this receiver,
the listenerendpoint
- the endpoint that defies this inbound communication
TransportServiceDescriptor
initialised using the component and endpoint.
Exception
- if there is a problem creating the receiver. This exception
really depends on the underlying transport, thus any exception
could be thrownprotected void unregisterReceiverWithMuleService(UMOMessageReceiver receiver, UMOEndpointURI ep) throws UMOException
UMOException
protected void registerReceiverWithMuleService(UMOMessageReceiver receiver, UMOEndpointURI ep) throws UMOException
UMOException
protected MuleDescriptor createAxisDescriptor()
protected void doStart() throws UMOException
doStart
in class AbstractConnector
UMOException
- if the method failsprotected void doStop() throws UMOException
doStop
in class AbstractConnector
UMOException
- if the method failsprotected void doConnect() throws Exception
AbstractConnector
doConnect
in class AbstractConnector
Exception
protected void doDisconnect() throws Exception
AbstractConnector
doDisconnect
in class AbstractConnector
Exception
protected void doDispose()
AbstractConnector
doDispose
in class AbstractConnector
public String getServerConfig()
public void setServerConfig(String serverConfig)
public List getBeanTypes()
public void setBeanTypes(List beanTypes)
public String getClientConfig()
public void setClientConfig(String clientConfig)
public org.apache.axis.server.AxisServer getAxisServer()
public void setAxisServer(org.apache.axis.server.AxisServer axisServer)
public org.apache.axis.configuration.SimpleProvider getServerProvider()
public void setServerProvider(org.apache.axis.configuration.SimpleProvider serverProvider)
public org.apache.axis.configuration.SimpleProvider getClientProvider()
public void setClientProvider(org.apache.axis.configuration.SimpleProvider clientProvider)
public Map getAxisTransportProtocols()
public void setAxisTransportProtocols(Map axisTransportProtocols)
public List getSupportedSchemes()
public void setSupportedSchemes(List supportedSchemes)
public boolean isDoAutoTypes()
public void setDoAutoTypes(boolean doAutoTypes)
public boolean isTreatMapAsNamedParams()
public void setTreatMapAsNamedParams(boolean treatMapAsNamedParams)
public void onNotification(UMOServerNotification notification)
onNotification
in interface UMOServerNotificationListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |