|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.receivers.AbstractMessageReceiver
org.ow2.petals.binding.soap.listener.incoming.PetalsReceiver
public class PetalsReceiver
The message receiver used by the binding component. The SOAP message is forwarded to the JBI endpoint.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.axis2.receivers.AbstractMessageReceiver |
|---|
org.apache.axis2.receivers.AbstractMessageReceiver.AsyncMessageReceiverWorker, org.apache.axis2.receivers.AbstractMessageReceiver.ThreadContextDescriptor |
| Field Summary | |
|---|---|
protected javax.jbi.messaging.DeliveryChannel |
channel
|
protected org.ow2.petals.component.framework.AbstractComponent |
component
|
protected java.util.logging.Logger |
logger
|
protected java.util.Map<java.lang.String,RequestProcessor> |
requestProcessors
|
| Fields inherited from class org.apache.axis2.receivers.AbstractMessageReceiver |
|---|
DO_ASYNC, log, SAVED_MC, SAVED_TCCL, SCOPE, serviceTCCL |
| Constructor Summary | |
|---|---|
PetalsReceiver(org.ow2.petals.component.framework.AbstractComponent component,
javax.jbi.messaging.DeliveryChannel channel,
java.util.logging.Logger logger)
Creates a new instance of PetalsReceiver |
|
| Method Summary | |
|---|---|
protected void |
addProcessor(RequestProcessor processor)
Add a processor to the processors list |
protected RequestProcessor |
getProcessor(org.apache.axis2.context.MessageContext context)
Get the processor for the given message context. |
protected RequestProcessor |
getRESTProcessor()
Get the REST processor |
protected RequestProcessor |
getSOAPProcessor()
Get the SOAP processor |
protected void |
initRequestProcessors()
Init the request processors. |
void |
invokeBusinessLogic(org.apache.axis2.context.MessageContext msgContext)
|
protected org.apache.axis2.context.MessageContext |
process(org.apache.axis2.context.MessageContext inContext)
Sends the SOAP Envelop of the request message directly to a JBI service and operation on the JBI container. |
protected void |
sendBackResponse(org.apache.axis2.context.MessageContext outMsgContext)
Send the response to the WS consumer. |
| Methods inherited from class org.apache.axis2.receivers.AbstractMessageReceiver |
|---|
getSOAPFactory, getTheImplementationObject, makeNewServiceObject, receive, replicateState, restoreThreadContext, setThreadContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Map<java.lang.String,RequestProcessor> requestProcessors
protected org.ow2.petals.component.framework.AbstractComponent component
protected javax.jbi.messaging.DeliveryChannel channel
protected java.util.logging.Logger logger
| Constructor Detail |
|---|
public PetalsReceiver(org.ow2.petals.component.framework.AbstractComponent component,
javax.jbi.messaging.DeliveryChannel channel,
java.util.logging.Logger logger)
context - channel - bindingSUM - log - | Method Detail |
|---|
protected void initRequestProcessors()
protected void addProcessor(RequestProcessor processor)
processor -
public final void invokeBusinessLogic(org.apache.axis2.context.MessageContext msgContext)
throws org.apache.axis2.AxisFault
invokeBusinessLogic in class org.apache.axis2.receivers.AbstractMessageReceiverorg.apache.axis2.AxisFault
protected void sendBackResponse(org.apache.axis2.context.MessageContext outMsgContext)
throws org.apache.axis2.AxisFault
outMsgContext -
org.apache.axis2.AxisFault
protected org.apache.axis2.context.MessageContext process(org.apache.axis2.context.MessageContext inContext)
throws org.apache.axis2.AxisFault
inMessage - MessageContext for incoming message.performanceNotification - The performance notification whose the UID will be forwarded
to the service provider.
org.apache.axis2.AxisFault - error while processing request, send the JBI Exchange,
processing the JBI response, or if the JBI response is a
Fault.protected RequestProcessor getProcessor(org.apache.axis2.context.MessageContext context)
context -
protected RequestProcessor getRESTProcessor()
protected RequestProcessor getSOAPProcessor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||