Annotation Type ChainOfResponsibilityPattern


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Documented
    @DesignPattern(type=BEHAVIORAL,
                   related=CompositePattern.class)
    public @interface ChainOfResponsibilityPattern
    Intent [GoF, pg 223]: Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it.

    Chain Of Responsibility Structure

    Since:
    2010-07-28
    Author:
    Heinz Kabutz
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String comment  
      java.lang.Class[] participants  
    • Element Detail

      • participants

        java.lang.Class[] participants
        Default:
        {}
      • comment

        java.lang.String comment
        Default:
        ""