wirebox.system.ioc

Class Provider

lucee.Component
        extended by wirebox.system.ioc.Provider
Class Attributes:
  • output : false
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    All Implemented Interfaces:
    IProvider

    A WireBox provider object that retrieves objects by using the provider pattern.

    Constructor Summary
    init(any<struct> scopeRegistration, any<ScopeStorage> scopeStorage, [any name], [any dsl], any targetObject)
          Constructor.
    Method Summary
    any get()
         Get the provided object.
    any onMissingMethod(any missingMethodName, any missingMethodArguments)
         Proxy calls to provided element.
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init(any<struct> 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.

    Method Detail

    get

    public any get()

    Get the provided object

    Specified by:
    get in interface IProvider

    onMissingMethod

    public any onMissingMethod(any missingMethodName, any missingMethodArguments)

    Proxy calls to provided element

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