subscribe

public void subscribe(String action, ActionMethod method)

Add an action.

Parameters

action

The action type

method

The action