Class EventBehaviour

java.lang.Object
org.alfresco.repo.policy.BaseBehaviour
org.alfresco.repo.policy.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
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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