coldbox.system.ioc.dsl

Class ColdBoxDSL

lucee.Component
    extended by coldbox.system.ioc.dsl.ColdBoxDSL
All Implemented Interfaces:
IDSLBuilder

Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- Process DSL functions via ColdBox

Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any cachebox
          CacheBox Reference.

    • access = public
    • returntype = any
    true false
    any coldbox
          ColdBox Reference.

    • access = public
    • returntype = any
    true false
    any injector
          Injector Reference.

    • access = public
    • returntype = any
    true false
    any log
          Log Reference.

    • access = public
    • returntype = any
    true false
    Constructor Summary
    init(any<Injector> injector)
          Configure the DSL Builder for operation and returns itself.
    Method Summary
    string getCachebox()
    string getColdbox()
    private any getColdBoxDSL(any definition, [any targetObject])
         Process a ColdBox DSL.
    string getInjector()
    string getLog()
    any process(any definition, [any targetObject])
         Process an incoming DSL definition and produce an object with it.
    any setCachebox(any cachebox)
    any setColdbox(any coldbox)
    any setInjector(any injector)
    any setLog(any log)
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init(any<Injector> injector)

    Configure the DSL Builder for operation and returns itself

    Parameters:
    injector - The linked WireBox Injector

    Property Detail

    cachebox

    property any cachebox

    CacheBox Reference

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    coldbox

    property any coldbox

    ColdBox Reference

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    injector

    property any injector

    Injector Reference

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    log

    property any log

    Log Reference

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    Method Detail

    getCachebox

    public string getCachebox()


    getColdbox

    public string getColdbox()


    getColdBoxDSL

    private any getColdBoxDSL(any definition, [any targetObject])

    Process a ColdBox DSL

    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

    getInjector

    public string getInjector()


    getLog

    public string getLog()


    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
    Returns:
    coldbox.system.ioc.dsl.IDSLBuilder

    setCachebox

    public any setCachebox(any cachebox)

    Parameters:
    cachebox

    setColdbox

    public any setColdbox(any coldbox)

    Parameters:
    coldbox

    setInjector

    public any setInjector(any injector)

    Parameters:
    injector

    setLog

    public any setLog(any log)

    Parameters:
    log