Notifier

Helper class that can be use to notify one or more components.

Description

The Notifier class is a helper class that can be use to notify one or more components.

Static methods

notify

Sets execution parameters.

public static void notify(IContext context, Iterable components, Parameters args) throws ApplicationException

  • context: IContext - (optional) execution context to trace execution through call chain.
  • components: Iterable - list of components that are to be notified.
  • args: Parameters - notification arguments.
  • notifyOne

    Notifies a specific component.

    To be notiied, components must implement the INotifiable interface. If they don’t, the call to this method has no effect.

    public static void notifyOne(IContext context, Object component, Parameters args) throws ApplicationException

    • context: IContext - (optional) execution context to trace execution through call chain.
    • component: Object - component that is to be notified.
    • args: Parameters - notifiation arguments.

    See also