Coldbox.cfc
configuration file or programmatically at runtime. If you register them in the configuration file, then you have control over the order in which they fire. If you register interceptors programmatically, you won't have control over the order of execution.interceptors
. The elements of each interceptor structure are:class
- The required instantiation path of the CFC.name
- An optional unique name for the interceptor. If this is not passed then the name of the CFC will be used. We highly encourage the use of a name to avoid collisions.properties
- A structure of configuration properties to be passed to the interceptorColdBox.cfc
:Info Remember that order is important!