coldbox.system.ioc

Class Provider

lucee.Component
    extended by coldbox.system.ioc.Provider
All Implemented Interfaces:
IProvider

Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- A WireBox provider object that retrieves objects by using the provider pattern.

Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any dsl
          The DSL string this provider is binded to, MUTEX with name.

    • access = public
    • returntype = any
    true false
    any name
          The name of the mapping this provider is binded to, MUTEX with name.

    • access = public
    • returntype = any
    true false
    any scopeRegistration
          he injector scope registration structure.

    • access = public
    • returntype = any
    true false
    any scopeStorage
          The scope storage utiloity.

    • access = public
    • returntype = any
    true false
    any targetObject
          The target object that requested the provider.

    • access = public
    • returntype = any
    true false
    Constructor Summary
    init(any scopeRegistration, any<ScopeStorage> scopeStorage, [any name], [any dsl], any targetObject)
          Constructor.
    Method Summary
    any get()
         Get the provided object.
    string getDsl ()
    string getName()
    string getScopeRegistration()
    string getScopeStorage()
    string getTargetObject()
    any onMissingMethod(any missingMethodName, any missingMethodArguments)
         Proxy calls to provided element.
    any setDsl (any dsl )
    any setName(any name)
    any setScopeRegistration(any scopeRegistration)
    any setScopeStorage(any scopeStorage)
    any setTargetObject(any targetObject)
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init(any scopeRegistration, any<ScopeStorage> scopeStorage, [any name], [any dsl], any targetObject)

    Constructor

    Parameters:
    scopeRegistration - The injector scope registration structure
    scopeStorage - The scope storage utility
    name - The name of the mapping this provider is binded to, MUTEX with name
    dsl - The DSL string this provider is binded to, MUTEX with name
    targetObject - The target object that requested the provider.

    Property Detail

    dsl

    property any dsl

    The DSL string this provider is binded to, MUTEX with name

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    name

    property any name

    The name of the mapping this provider is binded to, MUTEX with name

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    scopeRegistration

    property any scopeRegistration

    he injector scope registration structure

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    scopeStorage

    property any scopeStorage

    The scope storage utiloity

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    targetObject

    property any targetObject

    The target object that requested the provider

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    Method Detail

    get

    public any get()

    Get the provided object

    Specified by:
    get in interface IProvider

    getDsl

    public string getDsl ()


    getName

    public string getName()


    getScopeRegistration

    public string getScopeRegistration()


    getScopeStorage

    public string getScopeStorage()


    getTargetObject

    public string getTargetObject()


    onMissingMethod

    public any onMissingMethod(any missingMethodName, any missingMethodArguments)

    Proxy calls to provided element

    Parameters:
    missingMethodName - missing method name
    missingMethodArguments - missing method arguments

    setDsl

    public any setDsl (any dsl )

    Parameters:
    dsl

    setName

    public any setName(any name)

    Parameters:
    name

    setScopeRegistration

    public any setScopeRegistration(any scopeRegistration)

    Parameters:
    scopeRegistration

    setScopeStorage

    public any setScopeStorage(any scopeStorage)

    Parameters:
    scopeStorage

    setTargetObject

    public any setTargetObject(any targetObject)

    Parameters:
    targetObject