boxlang-core-dev-interceptors

Installation
SKILL.md

BoxLang Interceptors

Overview

BoxLang's interceptor system implements the Observer and Intercepting Filter design patterns. Interceptors listen for named events (interception points) announced by the runtime, modules, or application code. They enable cross-cutting concerns like logging, security, AOP, routing, and content manipulation without modifying core code.

Interceptor Pools

Three pools exist in the runtime. Each pool is an independent event emitter:

Pool Scope Use Case
Global Runtime Entire BoxLang process Module events, parse events, global AOP
Application Request Listener Per-application request lifecycle Auth, routing, request logging
CacheProviders Per cache instance Cache event hooks
Related skills

More from ortus-boxlang/skills

Installs
7
First Seen
Apr 21, 2026