coldbox.system.ioc.scopes

Interface IScope

WEB-INF.cftags.interface
        extended by cachebox.build-coldbox.coldbox.system.ioc.scopes.IScope
Class Attributes:
None

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
None

Constructor Detail

init

public init(any<Injector> injector)

Configure the scope for operation and returns itself

Parameters:
injector - The linked WireBox injector

Method Detail

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