railo-context.Component coldbox.system.core.events.EventPool
This object models an event pool that fires by convetion on its configured name.
Constructor Summary | |
---|---|
init(string state)
constructor. |
Method Summary | |
---|---|
boolean
|
exists(string key)
Checks if the passed key is registered with this event pool. |
any
|
getObject(string key)
Get an object from this event pool. |
any
|
getPool()
Get the Pool linked hash map. |
any
|
getState()
Get the event pool's state name. |
private any
|
invoker(any target, any interceptData)
Execute an event interception point. |
any
|
process(struct interceptData)
Process this event pool according to it's name. |
any
|
register(string key, any target)
Register an object class with this event pool. |
void
|
setState(any state)
Set the event pool's state name. |
boolean
|
unregister(string key)
Unregister an object from this event pool. |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
constructor
state
- The event pool state name to modelMethod Detail |
---|
Checks if the passed key is registered with this event pool
key
- The key of the objectGet an object from this event pool. Else return a blank structure if not found
key
- The key of the objectGet the Pool linked hash map
Get the event pool's state name
Execute an event interception point
target
- The target objectinterceptData
- A metadata structure used to pass intercepted information.Process this event pool according to it's name.
interceptData
- A data structure used to pass information.Register an object class with this event pool
key
- The key of the objecttarget
- The target object to register.Set the event pool's state name
state
Unregister an object from this event pool
key
- The key of the object