lucee.Componentcoldbox.system.ioc.scopes.CacheBox
Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- A scope that interfaces with CacheBox
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
cacheBox
CacheBox Reference.
|
true
|
false
|
|
any
|
injector
Injector linkage.
|
true
|
false
|
|
any
|
log
Log Reference.
|
true
|
false
|
Constructor Summary | |
---|---|
init(any<Injector> injector)
Configure the scope for operation and returns itself. |
Method Summary | |
---|---|
boolean
|
exists(any<Mapping> mapping)
Indicates whether an object exists in scope. |
string
|
getCacheBox()
|
any
|
getFromScope(any<Mapping> mapping, [struct initArguments])
Retrieve an object from scope or create it if not found in scope. |
string
|
getInjector()
|
string
|
getLog()
|
any
|
setCacheBox(any cacheBox)
|
any
|
setInjector(any injector)
|
any
|
setLog(any log)
|
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Configure the scope for operation and returns itself
injector
- The linked WireBox injectorProperty Detail |
---|
CacheBox Reference
access
- publicrequired
- falsereturntype
- anyserializable
- trueInjector linkage
access
- publicrequired
- falsereturntype
- anyserializable
- trueLog Reference
access
- publicrequired
- falsereturntype
- anyserializable
- trueMethod Detail |
---|
Indicates whether an object exists in scope
mapping
- The linked WireBox injectorRetrieve an object from scope or create it if not found in scope
mapping
- The linked WireBox injectorinitArguments
- The constructor struct of arguments to passthrough to initializationcacheBox
injector
log