commandbox.system.config

Class CommandBoxDSL

lucee.Component
    extended by commandbox.system.config.CommandBoxDSL
All Implemented Interfaces:
wirebox.system.ioc.dsl.IDSLBuilder

Copyright Since 2014 CommandBox by Ortus Solutions, Corp www.coldbox.org | www.ortussolutions.com The DSL builder for all CommandBox-related stuff

Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
  • author : Brad Wood, Luis Majano
  •  
    Property Summary
    type property default serializable required
    any injector


    • access = public
    • returntype = any
    true false
    any log


    • access = public
    • returntype = any
    true false
    Constructor Summary
    init(any injector)
          Configure the DSL for operation and returns itself.
    Method Summary
    string getInjector()
    string getLog()
    any getModuleSetting([any definition], [any thisLocationKey], [any thisLocationToken])
    any process(any definition, [any targetObject])
         Process an incoming DSL definition and produce an object with it.
    any setInjector(any injector)
    any setLog(any log)
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init(any injector)

    Configure the DSL for operation and returns itself

    Parameters:
    injector

    Property Detail

    injector

    property any injector

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

    log

    property any log

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

    Method Detail

    getInjector

    public string getInjector()


    getLog

    public string getLog()


    getModuleSetting

    public any getModuleSetting([any definition], [any thisLocationKey], [any thisLocationToken])

    Parameters:
    definition
    thisLocationKey
    thisLocationToken

    process

    public any process(any definition, [any targetObject])

    Process an incoming DSL definition and produce an object with it.

    Specified by:
    process in interface wirebox.system.ioc.dsl.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

    setInjector

    public any setInjector(any injector)

    Parameters:
    injector

    setLog

    public any setLog(any log)

    Parameters:
    log