WEB-INF.cftags.component coldbox.system.ioc.AbstractIOCAdapter coldbox.system.ioc.adapters.ColdSpring2Adapter
The ColdBox ColdSpring2 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 ColdSpring Factory. |
any
|
getBean(string beanName)
Get a Bean from the object factory. |
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 |
---|
None |
Constructor Detail |
---|
Constructor
definitionFile
- The definition file to load a factory withproperties
- Properties to pass to the factory to createcoldbox
- A coldbox application that this instance of logbox can be linked to, not used if not using within a ColdBox Application.Method Detail |
---|
Check if the bean factory contains a bean
containsBean
in class
AbstractIOCAdapter
beanName
- The bean name to retrieve from the object factoryCreate the ColdSpring Factory
createFactory
in class
AbstractIOCAdapter
Get a Bean from the object factory
getBean
in class
AbstractIOCAdapter
beanName
- The bean name to retrieve from the object factoryGet the parent factory
getParentFactory
in class
AbstractIOCAdapter
Set a parent factory on the adapted factory
setParentFactory
in class
AbstractIOCAdapter
parent
- The parent factory to add