ColdBox Platform Version 3.7.0

coldbox.system.ioc
Class Provider

WEB-INF.cftags.component
        extended by coldbox.system.ioc.Provider
All Implemented Interfaces:
IProvider

public class Provider
extends WEB-INF.cftags.component

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 WEB-INF.cftags.component
 

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

ColdBox Platform Version 3.7.0