Class EventBehaviour

  • All Implemented Interfaces:
    Behaviour

    @AlfrescoPublicApi
    public class EventBehaviour
    extends BaseBehaviour
    Event based Behaviour.

    A client uses an EventBehaviour to bind a send event behaviour to a Class-level Policy.

    The event behavior delegates the generation of the event to a method pointer. The pointer is represented by an instance object and method name.

    Author:
    Cristian Turlica
    • Method Detail

      • getInterface

        public <T> T getInterface​(Class<T> policy)
        Description copied from interface: Behaviour
        Gets the requested policy interface onto the behaviour
        Parameters:
        policy - the policy interface class
        Returns:
        the policy interface