org.objectweb.dream
Interface PushWithReturn

All Superinterfaces:
Push

public interface PushWithReturn
extends Push

This interface extends the Pushinterface for allowing Dream components to push messages with a return.


Field Summary
static String IN_PUSH_WITH_RETURN_ITF_NAME
          The commonly used name to refer to this interface when it is used as an input.
static String OUT_PUSH_WITH_RETURN_ITF_NAME
          The commonly used name to refer to this interface when it is used as an output.
 
Fields inherited from interface org.objectweb.dream.Push
IN_PUSH_ITF_NAME, OUT_PUSH_ITF_NAME
 
Method Summary
 Message pushWithReturn(Message message, Map context)
          Gives a message to a component.
 
Methods inherited from interface org.objectweb.dream.Push
push
 

Field Detail

OUT_PUSH_WITH_RETURN_ITF_NAME

public static final String OUT_PUSH_WITH_RETURN_ITF_NAME
The commonly used name to refer to this interface when it is used as an output.

See Also:
Constant Field Values

IN_PUSH_WITH_RETURN_ITF_NAME

public static final String IN_PUSH_WITH_RETURN_ITF_NAME
The commonly used name to refer to this interface when it is used as an input.

See Also:
Constant Field Values
Method Detail

pushWithReturn

public Message pushWithReturn(Message message,
                              Map context)
                       throws PushException
Gives a message to a component.

Parameters:
message - the message to give to the component.
context - a general purpose context map. Can be null.
Returns:
a message.
Throws:
PushException - if an exception occurs.


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.