|
ColdBox Platform Version 3.7.0 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.ioc.AbstractIOCAdapter
public class AbstractIOCAdapter
A base 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 factory |
any |
getBean(string beanName)
Get a Bean from the object factory |
any<Controller> |
getColdBox()
Get the ColdBox controller this adapter is linked to |
string |
getDefinitionFile()
Get the definition file for this adapter |
any |
getFactory()
Get the adapted factory |
any |
getParentFactory()
Get the parent factory |
struct |
getProperties()
Get the adapter properties |
private Util |
getUtil()
Create and return a util object |
any |
invokeFactoryMethod(string method, [struct args='[runtime expression]'])
Invoke a factory method in the bean factory |
void |
setParentFactory(any parent)
Set a parent factory on the adapted factory |
Methods inherited from class WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init([string definitionFile=''], [struct properties='[runtime expression]'], [any coldbox=''])
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 |
---|
public boolean containsBean(string beanName)
beanName
- The bean name to retrieve from the object factorypublic void createFactory()
public any getBean(string beanName)
beanName
- The bean name to retrieve from the object factorypublic any<Controller> getColdBox()
public string getDefinitionFile()
public any getFactory()
public any getParentFactory()
public struct getProperties()
private Util getUtil()
public any invokeFactoryMethod(string method, [struct args='[runtime expression]'])
method
- The method to invokeargs
- The arguments to pass into the methodpublic void setParentFactory(any parent)
parent
- The parent factory to add
|
ColdBox Platform Version 3.7.0 | ||||
FRAMES |