Class BoxRegisterInterceptor

java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.system.BoxRegisterInterceptor
Direct Known Subclasses:
BoxRegisterRequestInterceptor

@BoxBIF(description="Register an application-level interceptor") public class BoxRegisterInterceptor extends BIF
  • Field Details

  • Constructor Details

    • BoxRegisterInterceptor

      public BoxRegisterInterceptor()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Registers a global interceptor that can listen to global runtime events.
      Specified by:
      _invoke in class BIF
      Parameters:
      context - The context in which the BIF is being invoked.
      arguments - Argument scope for the BIF.
      Returns:
      The result of the invocation