|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mule.providers.soap.xfire.XFireServiceComponent
The Xfire service component receives requests for Xfire services it manages and marshalls requests and responses
| Field Summary | |
protected Log |
logger
logger used by this class |
protected Transport |
transport
|
protected String |
transportClass
|
protected Transport |
universalTransport
|
protected XFire |
xfire
|
| Constructor Summary | |
XFireServiceComponent()
|
|
| Method Summary | |
void |
dispose()
A lifecycle method where implementor should free up any resources. |
protected void |
generateService(OutStreamMessageAdapter response,
String serviceName)
|
protected void |
generateServices(OutStreamMessageAdapter response)
|
protected InputStream |
getMessageStream(UMOEventContext context)
Gets the stream representation of the current message. |
protected Service |
getService(String name)
|
protected String |
getServiceName(UMOEventContext context)
Get the service that is mapped to the specified request. |
ServiceRegistry |
getServiceRegistry()
|
protected TransportManager |
getTransportManager()
|
XFire |
getXfire()
|
void |
initialise()
Method used to perform any initialisation work. |
Object |
onCall(UMOEventContext eventContext)
Passes the event to the listener |
void |
setDescriptor(UMODescriptor descriptor)
|
void |
setTransport(Transport transport)
|
void |
setTransportClass(String clazz)
|
void |
setXfire(XFire xfire)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected transient Log logger
protected XFire xfire
protected Transport transport
protected Transport universalTransport
protected String transportClass
| Constructor Detail |
public XFireServiceComponent()
| Method Detail |
public void setDescriptor(UMODescriptor descriptor)
setDescriptor in interface UMODescriptorAware
public Object onCall(UMOEventContext eventContext)
throws Exception
Callable
onCall in interface CallableeventContext - the context of the current event being process
UMOLifecycleAdapter for the component receives this
object it will first see if the Object is an UMOMessage
if not and the Object is not null a new message will be created using
the returned object as the payload. This new event will then get
published via the configured outbound router if-
setStopFurtherProcessing(true) wasn't called
on the event context event.Exception - if the event fails to process properly. If exceptions aren't
handled by the implementation they will be handled by the
exceptionListener associated with the component
public void start()
throws UMOException
start in interface StartableUMOException
public void stop()
throws UMOException
stop in interface StoppableUMOException
public void initialise()
throws InitialisationException
InitialisableInitialisationException should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.
initialise in interface InitialisableInitialisationException - if a fatal error occurs causing the Mule
instance to shutdownpublic void dispose()
Disposable
dispose in interface Disposableprotected TransportManager getTransportManager()
protected void generateService(OutStreamMessageAdapter response,
String serviceName)
throws IOException,
XMLStreamException
IOException
XMLStreamException
protected void generateServices(OutStreamMessageAdapter response)
throws IOException,
XMLStreamException
response -
IOException
XMLStreamException
protected InputStream getMessageStream(UMOEventContext context)
throws UMOException
context - the event context
UMOExceptionprotected String getServiceName(UMOEventContext context)
context - the context from which to find the service name
protected Service getService(String name)
public XFire getXfire()
public void setXfire(XFire xfire)
public void setTransport(Transport transport)
public void setTransportClass(String clazz)
public ServiceRegistry getServiceRegistry()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||