org.araneaframework.framework
Interface MountContext.MessageFactory

All Superinterfaces:
Serializable
Enclosing interface:
MountContext

public static interface MountContext.MessageFactory
extends Serializable

The factory that creates necessary messages to start the widget.


Method Summary
 Message buildMessage(String url, String suffix, InputData input, OutputData output)
          Creates a Message used to update the current component hierarchy in response to the user accessing this specific URL.
 

Method Detail

buildMessage

public Message buildMessage(String url,
                            String suffix,
                            InputData input,
                            OutputData output)
Creates a Message used to update the current component hierarchy in response to the user accessing this specific URL. A message can for example select a menu item, start a flow or authenticate the user. After the message is applied the framework will proceed to render the result.

Parameters:
url - The full URL accessed by the user.
suffix - The suffix after the matched mounted path part.
input - Submitted data.
output - Response data.
Returns:
Message that will be applied to the component hierarchy.