coldbox.system.ioc.scopes

Class RequestScope

lucee.Component
    extended by coldbox.system.ioc.scopes.RequestScope
All Implemented Interfaces:
IScope

I am an awesome request scope

Class Attributes:
  • output : false
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Constructor Summary
    init(any injector)
          Configure the scope for operation.
    Method Summary
    any getFromScope(any mapping, [any initArguments])
         Retrieve an object from scope or create it if not found in scope.
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init(any injector)

    Configure the scope for operation

    Parameters:
    injector - The linked WireBox injector

    Method Detail

    getFromScope

    public any getFromScope(any mapping, [any initArguments])

    Retrieve an object from scope or create it if not found in scope

    Specified by:
    getFromScope in interface IScope
    Parameters:
    mapping - The object mapping: coldbox.system.ioc.config.Mapping
    initArguments - The constructor structure of arguments to passthrough when initializing the instance