coldbox.system.ioc.scopes.IScope
Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- The main interface to produce WireBox storage scopes
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. |
any
|
getFromScope(any<Mapping> mapping, [any initArguments])
Retrieve an object from scope or create it if not found in scope. |
Constructor Detail |
---|
Configure the scope for operation and returns itself
injector
- The linked WireBox injectorMethod 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 initialization