lucee.Component
commandbox.system.Interceptor
Copyright Since 2005 ColdBox Platform by Ortus Solutions, Corp www.coldbox.org | www.ortussolutions.com The base class for all CommandBox interceptors
| Property Summary | ||||
|---|---|---|---|---|
| type | property | default | serializable | required |
InterceptorService
|
interceptorService
|
true
|
false
|
|
any
|
log
|
true
|
false
|
|
any
|
logBox
|
true
|
false
|
|
struct
|
properties
|
true
|
false
|
|
any
|
shell
|
true
|
false
|
|
any
|
wirebox
|
true
|
false
|
|
| Constructor Summary | |
|---|---|
|
init(any shell, [struct properties='[runtime expression]'])
Constructor. |
|
| Method Summary | |
|---|---|
void
|
configure()
Configuration method for the interceptor. |
any
|
getInstance([any name], [any dsl], [any initArguments='[runtime expression]'], [any targetObject=''])
|
string
|
getInterceptorService()
|
string
|
getLog()
|
string
|
getLogBox()
|
string
|
getProperties()
|
any
|
getProperty(any property, [any defaultValue])
Get an interceptor property. |
string
|
getShell()
|
string
|
getWirebox()
|
boolean
|
propertyExists(any property)
Verify an interceptor property. |
any
|
setInterceptorService(InterceptorService interceptorService)
|
any
|
setLog(any log)
|
any
|
setLogBox(any logBox)
|
any
|
setProperties(struct properties)
|
any
|
setProperty(any property, any value)
Store an interceptor property. |
any
|
setShell(any shell)
|
any
|
setWirebox(any wirebox)
|
any
|
unregister(any state)
Unregister the interceptor. |
| Methods inherited from class lucee.Component |
|---|
| None |
| Constructor Detail |
|---|
Constructor
shell - The CommandBox Shellproperties - The properties to init the Interceptor with| Property Detail |
|---|
access - publicrequired - falsereturntype - anyserializable - trueaccess - publicrequired - falsereturntype - anyserializable - trueaccess - publicrequired - falsereturntype - anyserializable - trueaccess - publicrequired - falsereturntype - anyserializable - trueaccess - publicrequired - falsereturntype - anyserializable - trueaccess - publicrequired - falsereturntype - anyserializable - true| Method Detail |
|---|
Configuration method for the interceptor
namedslinitArgumentstargetObjectGet an interceptor property
property - The property to retrievedefaultValue - The default value to return if property does not existVerify an interceptor property
property - The property to checkinterceptorServiceloglogBoxpropertiesStore an interceptor property
property - The property to storevalue - The value to storeshellwireboxUnregister the interceptor
state - The named state to unregister this interceptor from