Class InterceptorEntry

java.lang.Object
ortus.boxlang.runtime.events.InterceptorEntry

public class InterceptorEntry extends Object
This represents the interceptor object and it's invoker to avoid runtime lookups when invoking the interceptor.
  • Field Details

    • interceptor

      public final DynamicObject interceptor
    • invoker

      public final ortus.boxlang.runtime.events.InterceptorInvoker invoker
  • Method Details

    • equals

      public boolean equals(DynamicObject obj)
      Equals method. Verifies if the incoming object is the same as this interceptor. This is used to verify if the interceptor is already registered in the interceptor state
      Parameters:
      obj - The object to compare
      Returns:
      true if the object is the same as this interceptor