ColdBox Platform Version 3.7.0

coldbox.system.ioc.dsl
Class ColdBoxDSL

WEB-INF.cftags.component
        extended by coldbox.system.ioc.dsl.ColdBoxDSL
All Implemented Interfaces:
IDSLBuilder

public class ColdBoxDSL
extends WEB-INF.cftags.component

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<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 getIOCDSL(any definition, [any targetObject])
          Get an IOC dependency
private any getJavaLoaderDSL(any definition, [any targetObject])
          Get JavaLoader Dependency
private any getOCMDSL(any definition, [any targetObject])
          Get OCM dependencies
private any getWebserviceDSL(any definition, [any targetObject])
          Get webservice dependencies
 any process(any definition, [any targetObject])
          Process an incoming DSL definition and produce an object with it
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(any<Injector> injector)
Configure the DSL for operation and returns itself

Parameters:
injector - The linked WireBox injector
Method Detail

getColdboxDSL

private any getColdboxDSL(any definition, [any targetObject])
Get dependencies using the coldbox dependency DSL

Parameters:
definition - The dependency definition structure
targetObject - The target object we are building the DSL dependency for. If empty, means we are just requesting building

getDatasource

private any<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

Parameters:
alias - The alias of the datasource to get from the configstruct (alias property in the config file)

getIOCDSL

private any getIOCDSL(any definition, [any targetObject])
Get an IOC dependency

Parameters:
definition - The dependency definition structure
targetObject - The target object we are building the DSL dependency for. If empty, means we are just requesting building

getJavaLoaderDSL

private any getJavaLoaderDSL(any definition, [any targetObject])
Get JavaLoader Dependency

Parameters:
definition - The dependency definition structure
targetObject - The target object we are building the DSL dependency for. If empty, means we are just requesting building

getOCMDSL

private any getOCMDSL(any definition, [any targetObject])
Get OCM dependencies

Parameters:
definition - The dependency definition structure
targetObject - The target object we are building the DSL dependency for. If empty, means we are just requesting building

getWebserviceDSL

private any getWebserviceDSL(any definition, [any targetObject])
Get webservice dependencies

Parameters:
definition - The dependency definition structure
targetObject - The target object we are building the DSL dependency for. If empty, means we are just requesting building

process

public any process(any definition, [any targetObject])
Process an incoming DSL definition and produce an object with it.

Specified by:
process in interface IDSLBuilder
Parameters:
definition - The injection dsl definition structure to process. Keys: name, dsl
targetObject - The target object we are building the DSL dependency for. If empty, means we are just requesting building

ColdBox Platform Version 3.7.0