railo-context.Component coldbox.system.ioc.dsl.ColdBoxDSL
The DSL builder for all ColdBox related stuff
Constructor Summary | |
---|---|
init(any<Injector> injector)
Configure the DSL for operation and returns itself. |
Method Summary | |
---|---|
private any
|
getColdboxDSL(any definition, [any targetObject])
Get dependencies using the coldbox dependency DSL. |
private any<coldbox.system.core.db.DatasourceBean>
|
getDatasource([any alias])
I will return to you a datasourceBean according to the alias of the datasource you wish to get from the configstruct. |
private any
|
getOCMDSL(any definition, [any targetObject])
Get OCM dependencies. |
any
|
process(any definition, [any targetObject])
Process an incoming DSL definition and produce an object with it. |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Configure the DSL for operation and returns itself
injector
- The linked WireBox injectorMethod Detail |
---|
Get dependencies using the coldbox dependency DSL
definition
- The dependency definition structuretargetObject
- The target object we are building the DSL dependency for. If empty, means we are just requesting buildingI will return to you a datasourceBean according to the alias of the datasource you wish to get from the configstruct
alias
- The alias of the datasource to get from the configstruct (alias property in the config file)Get OCM dependencies
definition
- The dependency definition structuretargetObject
- The target object we are building the DSL dependency for. If empty, means we are just requesting buildingProcess an incoming DSL definition and produce an object with it.
process
in interface
IDSLBuilder
definition
- The injection dsl definition structure to process. Keys: name, dsltargetObject
- The target object we are building the DSL dependency for. If empty, means we are just requesting building