Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1001 Bytes

provider-namespace.md

File metadata and controls

17 lines (13 loc) · 1001 Bytes

Provider Namespace

Inject object providers, please refer to our provider section in this guide.

DSL Description
provider Build an object provider that will return the mapping according to the property, method or argument name.
provider:{name} Build an object provider that will return the {name} mapping.
provider:{injectionDSL} Build an object provider that will return the object that the {injectionDSL} refers to
// using id
property name="timedService" inject="provider:TimedService";

// using DSL
property name="timedService" inject="provider:logbox:logger:{this}";