|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.transport.AbstractConnector
org.mule.transport.cxf.CxfConnector
public class CxfConnector
Connects Mule to a CXF bus instance.
| Field Summary | |
|---|---|
static String |
BUS_PROPERTY
|
static String |
CONFIGURATION_LOCATION
|
static String |
CXF
|
static String |
CXF_SERVICE_COMPONENT_NAME
|
static String |
DEFAULT_MULE_NAMESPACE_URI
|
| Fields inherited from class org.mule.transport.AbstractConnector |
|---|
connected, createMultipleTransactedReceivers, DEFAULT_NUM_CONCURRENT_TX_RECEIVERS, dispatcherFactory, dispatchers, disposed, exceptionListener, initialised, initialStateStopped, logger, muleContext, name, numberOfConcurrentTransactedReceivers, receivers, requesterFactory, requesters, serviceDescriptor, serviceOverrides, sessionHandler, started, startOnConnect |
| Fields inherited from interface org.mule.api.transport.Connector |
|---|
INT_VALUE_NOT_SET |
| Fields inherited from interface org.mule.api.lifecycle.Initialisable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Startable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Stoppable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Disposable |
|---|
PHASE_NAME |
| Constructor Summary | |
|---|---|
CxfConnector()
|
|
| Method Summary | |
|---|---|
protected String |
createServiceName(org.apache.cxf.endpoint.Endpoint endpoint)
Build a unique name for the endpoint that is well suited for exposure by JMX. |
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 |
protected void |
doUnregisterListener(Service service,
InboundEndpoint endpoint,
MessageReceiver receiver)
|
String |
getConfigurationLocation()
|
org.apache.cxf.Bus |
getCxfBus()
|
String |
getDefaultFrontend()
|
String |
getProtocol()
|
protected Object |
getReceiverKey(Service service,
InboundEndpoint endpoint)
The method determines the key used to store the receiver against. |
org.apache.cxf.endpoint.Server |
getServer(String uri)
|
boolean |
isInitializeStaticBusInstance()
|
boolean |
isSyncEnabled(String protocol)
Used to define is this connectors endpoints' should be synchronous by default rather than using Mule's instance wide default. |
void |
onNotification(ServiceNotification event)
|
protected void |
registerProtocols()
|
protected void |
registerReceiverWithMuleService(MessageReceiver receiver,
EndpointURI ep)
|
void |
setConfigurationLocation(String configurationLocation)
|
void |
setCxfBus(org.apache.cxf.Bus bus)
|
void |
setDefaultFrontend(String defaultFrontend)
|
void |
setInitializeStaticBusInstance(boolean initializeStaticBusInstance)
|
boolean |
supportsProtocol(String protocol)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String CXF
public static final String CXF_SERVICE_COMPONENT_NAME
public static final String CONFIGURATION_LOCATION
public static final String DEFAULT_MULE_NAMESPACE_URI
public static final String BUS_PROPERTY
| Constructor Detail |
|---|
public CxfConnector()
| Method Detail |
|---|
protected void registerProtocols()
public boolean supportsProtocol(String protocol)
supportsProtocol in interface ConnectorsupportsProtocol in class AbstractConnectorpublic String getProtocol()
getProtocol in interface Connector
protected void doInitialise()
throws InitialisationException
doInitialise in class AbstractConnectorInitialisationExceptionprotected void doDispose()
AbstractConnector
doDispose in class AbstractConnector
protected void doConnect()
throws Exception
AbstractConnector
doConnect in class AbstractConnectorException
protected void doDisconnect()
throws Exception
AbstractConnector
doDisconnect in class AbstractConnectorException
protected void doStart()
throws MuleException
AbstractConnector
doStart in class AbstractConnectorMuleException - if the method fails
protected void doStop()
throws MuleException
AbstractConnector
doStop in class AbstractConnectorMuleException - if the method failspublic org.apache.cxf.Bus getCxfBus()
public void setCxfBus(org.apache.cxf.Bus bus)
public String getConfigurationLocation()
public void setConfigurationLocation(String configurationLocation)
public String getDefaultFrontend()
public void setDefaultFrontend(String defaultFrontend)
protected void registerReceiverWithMuleService(MessageReceiver receiver,
EndpointURI ep)
throws MuleException
MuleExceptionprotected String createServiceName(org.apache.cxf.endpoint.Endpoint endpoint)
protected Object getReceiverKey(Service service,
InboundEndpoint endpoint)
getReceiverKey in class AbstractConnectorservice - the service for which the endpoint is being registeredendpoint - the endpoint being registered for the service
public void onNotification(ServiceNotification event)
onNotification in interface ServerNotificationListener<ServiceNotification>public boolean isSyncEnabled(String protocol)
Connector
isSyncEnabled in interface ConnectorisSyncEnabled in class AbstractConnectorImmutableEndpoint.isSynchronous()public org.apache.cxf.endpoint.Server getServer(String uri)
public boolean isInitializeStaticBusInstance()
public void setInitializeStaticBusInstance(boolean initializeStaticBusInstance)
protected void doUnregisterListener(Service service,
InboundEndpoint endpoint,
MessageReceiver receiver)
doUnregisterListener in class AbstractConnector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||