|
ColdBox Platform Version 3.7.0 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.core.events.EventPool
public class 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 WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init(string state)
state
- The event pool state name to modelMethod Detail |
---|
public boolean exists(string key)
key
- The key of the objectpublic any getObject(string key)
key
- The key of the objectpublic any getPool()
public any getState()
private any invoker(any target, any interceptData)
target
- The target objectinterceptData
- A metadata structure used to pass intercepted information.public any process(struct interceptData)
interceptData
- A data structure used to pass information.public any register(string key, any target)
key
- The key of the objecttarget
- The target object to register.public void setState(any state)
state
public boolean unregister(string key)
key
- The key of the object
|
ColdBox Platform Version 3.7.0 | ||||
FRAMES |