org.mule.transport.cxf
Class CxfMessageReceiver

java.lang.Object
  extended by org.mule.transport.AbstractMessageReceiver
      extended by org.mule.transport.cxf.CxfMessageReceiver
All Implemented Interfaces:
Disposable, Initialisable, Lifecycle, Startable, Stoppable, Connectable, MessageReceiver

public class CxfMessageReceiver
extends AbstractMessageReceiver

Create a CXF service. All messages for the service will be sent to the Mule bus a la the MuleInvoker.


Field Summary
protected  CxfConnector connector
           
 
Fields inherited from class org.mule.transport.AbstractMessageReceiver
connected, connecting, connectionStrategy, disposing, endpoint, logger, receiverKey, responseEndpoint, service, stopped
 
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
CxfMessageReceiver(Connector connector, Service service, InboundEndpoint Endpoint)
           
 
Method Summary
 void addIgnoredMethods(org.apache.cxf.service.factory.ReflectionServiceFactoryBean svcFac, String className)
           
 void doConnect()
           
 void doDisconnect()
           
protected  void doDispose()
           
protected  void doInitialise()
           
 void doStart()
           
 void doStop()
           
 org.apache.cxf.endpoint.Server getServer()
           
protected  void initializeServerFactory(org.apache.cxf.frontend.ServerFactoryBean sfb)
          If any custom initialization logic needs to be done, it can be done by overriding this method.
 boolean isApplyFiltersToProtocol()
           
 boolean isApplySecurityToProtocol()
           
 boolean isApplyTransformersToProtocol()
           
 boolean isProxy()
           
 
Methods inherited from class org.mule.transport.AbstractMessageReceiver
connect, disconnect, dispose, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, getEndpointURI, getListener, getReceiverKey, getService, getWorkManager, handleException, handleUnacceptedFilter, initialise, isConnected, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, setConnector, setEndpoint, setExceptionDetails, setListener, setReceiverKey, setService, setWorkManager, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

connector

protected CxfConnector connector
Constructor Detail

CxfMessageReceiver

public CxfMessageReceiver(Connector connector,
                          Service service,
                          InboundEndpoint Endpoint)
                   throws CreateException
Throws:
CreateException
Method Detail

doInitialise

protected void doInitialise()
                     throws InitialisationException
Overrides:
doInitialise in class AbstractMessageReceiver
Throws:
InitialisationException

initializeServerFactory

protected void initializeServerFactory(org.apache.cxf.frontend.ServerFactoryBean sfb)
If any custom initialization logic needs to be done, it can be done by overriding this method.

Parameters:
sfb -

addIgnoredMethods

public void addIgnoredMethods(org.apache.cxf.service.factory.ReflectionServiceFactoryBean svcFac,
                              String className)

doDispose

protected void doDispose()
Specified by:
doDispose in class AbstractMessageReceiver

doConnect

public void doConnect()
               throws Exception
Specified by:
doConnect in class AbstractMessageReceiver
Throws:
Exception

doDisconnect

public void doDisconnect()
                  throws Exception
Specified by:
doDisconnect in class AbstractMessageReceiver
Throws:
Exception

doStart

public void doStart()
             throws MuleException
Specified by:
doStart in class AbstractMessageReceiver
Throws:
MuleException

doStop

public void doStop()
            throws MuleException
Specified by:
doStop in class AbstractMessageReceiver
Throws:
MuleException

getServer

public org.apache.cxf.endpoint.Server getServer()

isProxy

public boolean isProxy()

isApplySecurityToProtocol

public boolean isApplySecurityToProtocol()

isApplyTransformersToProtocol

public boolean isApplyTransformersToProtocol()

isApplyFiltersToProtocol

public boolean isApplyFiltersToProtocol()


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.