coldbox.system.ioc.dsl

Class CacheBoxDSL

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

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

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

    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()


    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

    setInjector

    public any setInjector(any injector)

    Parameters:
    injector

    setLog

    public any setLog(any log)

    Parameters:
    log