|
ColdBox Platform Version 2.6.3 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.beans.interceptorState
public class interceptorState
I model an interception state.
Constructor Summary | |
---|---|
init(string state)
constructor |
Method Summary | |
---|---|
boolean |
exists(string InterceptorKey)
Checks if the passed interceptor key already exists |
any |
getInterceptor(string InterceptorKey)
Get an interceptor from this state. Else return a blank structure if not found |
any |
getinterceptors()
Get the interceptors linked hash map |
string |
getstate()
Get the state's name |
private any |
invoker(any interceptor, any event, any interceptData)
Execute an interceptor execution point |
void |
process(any event, struct interceptData)
Process this state's interceptors |
void |
register(string InterceptorKey, any Interceptor)
Register an interceptor class with this state |
void |
setinterceptors(any interceptors)
Set interceptors linked hash map |
void |
setstate(string state)
Set the state's name |
void |
unregister(string InterceptorKey)
Unregister an interceptor class from this state |
Methods inherited from class WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init(string state)
Method Detail |
---|
public boolean exists(string InterceptorKey)
InterceptorKey
- The interceptor key class to registerpublic any getInterceptor(string InterceptorKey)
InterceptorKey
- The interceptor key class to Unregisterpublic any getinterceptors()
public string getstate()
private any invoker(any interceptor, any event, any interceptData)
interceptor
- The interceptor reference from cacheevent
- The event contextinterceptData
- A metadata structure used to pass intercepted information.public void process(any event, struct interceptData)
event
- The event context object.interceptData
- A data structure used to pass intercepted information.public void register(string InterceptorKey, any Interceptor)
InterceptorKey
- The interceptor key class to registerInterceptor
- The interceptor reference from the cache.public void setinterceptors(any interceptors)
interceptors
public void setstate(string state)
state
public void unregister(string InterceptorKey)
InterceptorKey
- The interceptor key class to Unregister
|
ColdBox Platform Version 2.6.3 | ||||
FRAMES |