Package org.apache.axis2.util
Class CallbackReceiver
- java.lang.Object
-
- org.apache.axis2.util.CallbackReceiver
-
- All Implemented Interfaces:
MessageReceiver
public class CallbackReceiver extends Object implements MessageReceiver
This is a MessageReceiver which is used on the client side to accept the messages (response) that come to the client. This correlates the incoming message to the related messages and makes a call to the appropriate callback.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Constructor Summary
Constructors Constructor Description CallbackReceiver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCallback(String msgID, AxisCallback callback)
Map
getCallbackStore()
Object
lookupCallback(String msgID)
void
receive(MessageContext msgContext)
-
-
-
Field Detail
-
SERVICE_NAME
public static String SERVICE_NAME
-
-
Method Detail
-
addCallback
public void addCallback(String msgID, AxisCallback callback) throws AxisFault
- Throws:
AxisFault
-
receive
public void receive(MessageContext msgContext) throws AxisFault
- Specified by:
receive
in interfaceMessageReceiver
- Throws:
AxisFault
-
getCallbackStore
public Map getCallbackStore()
-
-