lucee.Component coldbox.system.ioc.Provider
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.
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
dsl
The DSL string this provider is binded to, MUTEX with name.
|
true
|
false
|
|
any
|
name
The name of the mapping this provider is binded to, MUTEX with name.
|
true
|
false
|
|
any
|
scopeRegistration
he injector scope registration structure.
|
true
|
false
|
|
any
|
scopeStorage
The scope storage utiloity.
|
true
|
false
|
|
any
|
targetObject
The target object that requested the provider.
|
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 |
---|
Constructor
scopeRegistration
- The injector scope registration structurescopeStorage
- The scope storage utilityname
- The name of the mapping this provider is binded to, MUTEX with namedsl
- The DSL string this provider is binded to, MUTEX with nametargetObject
- The target object that requested the provider.Property Detail |
---|
The DSL string this provider is binded to, MUTEX with name
access
- publicrequired
- falsereturntype
- anyserializable
- trueThe name of the mapping this provider is binded to, MUTEX with name
access
- publicrequired
- falsereturntype
- anyserializable
- truehe injector scope registration structure
access
- publicrequired
- falsereturntype
- anyserializable
- trueThe scope storage utiloity
access
- publicrequired
- falsereturntype
- anyserializable
- trueThe target object that requested the provider
access
- publicrequired
- falsereturntype
- anyserializable
- trueMethod Detail |
---|
Get the provided object
get
in interface
IProvider
Proxy calls to provided element
missingMethodName
- missing method namemissingMethodArguments
- missing method argumentsdsl
name
scopeRegistration
scopeStorage
targetObject