Interface CortexInterceptor

  • All Superinterfaces:
    org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
    All Known Implementing Classes:
    GraphingRequestInterceptor, TracingTimingMethodInterceptor

    public interface CortexInterceptor
    extends org.aopalliance.intercept.MethodInterceptor
    Interface for Cortex specific MethodInterceptor's that need to perform final operation after the desired call stack has been captured.
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void postIntercept​(java.util.Map<java.lang.String,​java.lang.String> cortexSessionOptions)
      Performs final operations after all calls have been captured.
      default java.util.Map<java.lang.String,​java.lang.String> suggestedOptions​(java.lang.String value)
      Suggests default options for the interceptor.
      • Methods inherited from interface org.aopalliance.intercept.MethodInterceptor

        invoke
    • Method Detail

      • suggestedOptions

        default java.util.Map<java.lang.String,​java.lang.String> suggestedOptions​(java.lang.String value)
        Suggests default options for the interceptor.
        Parameters:
        value - context dependent value for customization
        Returns:
        suggested default options
      • postIntercept

        default void postIntercept​(java.util.Map<java.lang.String,​java.lang.String> cortexSessionOptions)
        Performs final operations after all calls have been captured.
        Parameters:
        cortexSessionOptions - Configuration options from the @see CortexSession