Annotation Type CdrHook


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface CdrHook
    This annotation should be placed on interceptor methods. The value=Pointcut property determines which event is actually being invoked. See the Pointcut JavaDoc for information on available method parameters for a given hook.
    See Also:
    Interceptor
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      CdrPointcut value
      Provides the specific point where this method should be invoked
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int order
      The order that interceptors should be called in.
    • Element Detail

      • value

        CdrPointcut value
        Provides the specific point where this method should be invoked
      • order

        int order
        The order that interceptors should be called in. Lower numbers happen before higher numbers. Default is 0 and allowable values can be positive or negative or 0.

        If no order is specified, or the order is set to 0 (the default order), the order specified at the interceptor type level will take precedence.

        Default:
        0