ColdBox Platform Version 3.7.0

coldbox.system.ioc.adapters
Class LightWireAdapter

WEB-INF.cftags.component
        extended by coldbox.system.ioc.AbstractIOCAdapter
            extended by coldbox.system.ioc.adapters.LightWireAdapter

public class LightWireAdapter
extends AbstractIOCAdapter

The ColdBox LightWire IOC factory adapter


Constructor Summary
init([string definitionFile=''], [struct properties='[runtime expression]'], [any coldbox=''])
          Constructor
 
Method Summary
 boolean containsBean(string beanName)
          Check if the bean factory contains a bean
 void createFactory()
          Create the LightWire Factory
private any createLightwireConfigBean()
          Creates the lightwire config bean
 any getBean(string beanName)
          Get a Bean from the object factory
private any getController()
          Get controller: coldbox
 any getParentFactory()
          Get the parent factory
 void setParentFactory(any parent)
          Set a parent factory on the adapted factory
 
Methods inherited from class coldbox.system.ioc.AbstractIOCAdapter
getColdBox, getDefinitionFile, getFactory, getProperties, getUtil, invokeFactoryMethod
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init([string definitionFile=''], [struct properties='[runtime expression]'], [any coldbox=''])
Constructor

Parameters:
definitionFile - The definition file to load a factory with
properties - Properties to pass to the factory to create
coldbox - A coldbox application that this instance of logbox can be linked to, not used if not using within a ColdBox Application.
Method Detail

containsBean

public boolean containsBean(string beanName)
Check if the bean factory contains a bean

Overrides:
containsBean in class AbstractIOCAdapter
Parameters:
beanName - The bean name to retrieve from the object factory

createFactory

public void createFactory()
Create the LightWire Factory

Overrides:
createFactory in class AbstractIOCAdapter

createLightwireConfigBean

private any createLightwireConfigBean()
Creates the lightwire config bean


getBean

public any getBean(string beanName)
Get a Bean from the object factory

Overrides:
getBean in class AbstractIOCAdapter
Parameters:
beanName - The bean name to retrieve from the object factory

getController

private any getController()
Get controller: coldbox.system.web.Controller


getParentFactory

public any getParentFactory()
Get the parent factory

Overrides:
getParentFactory in class AbstractIOCAdapter

setParentFactory

public void setParentFactory(any parent)
Set a parent factory on the adapted factory

Overrides:
setParentFactory in class AbstractIOCAdapter
Parameters:
parent - The parent factory to add

ColdBox Platform Version 3.7.0