Callable
|
|
ColdBox Platform Version 3.5.3
|
|
FRAMES
|
coldbox.system.ioc.scopes
Interface
IScope
WEB-INF.cftags.interface
coldbox.system.ioc.scopes.IScope
- All Known Implementing Classes:
-
CFScopes , CacheBox , NoScope , RequestScope , Singleton
-
public interface IScope
- extends WEB-INF.cftags.interface
The main interface to produce WireBox storage scopes
|
Constructor Summary |
init(any<Injector> injector)
Configure the scope for operation and returns itself
|
|
Method Summary |
any |
getFromScope(any<Mapping> mapping, [any<struct> initArguments])
Retrieve an object from scope or create it if not found in scope
|
| Methods inherited from class WEB-INF.cftags.interface |
|
init
public init(any<Injector> injector)
-
Configure the scope for operation and returns itself
- Parameters:
injector - The linked WireBox injector
getFromScope
public any getFromScope(any<Mapping> mapping, [any<struct> initArguments])
-
Retrieve an object from scope or create it if not found in scope
- Parameters:
mapping - The object mapping
initArguments - The constructor structure of arguments to passthrough when initializing the instance
|
|
ColdBox Platform Version 3.5.3
|
|
FRAMES
|