Interface ResourceEventNotifier<R extends Serializable,​T extends ResourceEvent>

    • Method Detail

      • notify

        void notify​(T event)
        Notify about the specified event.
        Parameters:
        event - the event to fire.
      • notifyEventOn

        void notifyEventOn​(ResourceEvent.Type type,
                           R... resource)
        Notify about an event of the specified type and on the specified resource.
        Parameters:
        type - the type of the event that defines its cause.
        resource - the resource related by the event. In the case of an update, two instances of the same resource is expected: the first being the resource before the update, the second being the resource after the update.