box.system.plugins.concurrent.Callable interface">
|
ColdBox Platform Version 3.1.0 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
coldbox.system.FrameworkSupertype
coldbox.system.Plugin
coldbox.system.plugins.IOC
public class IOC
An Inversion Of Control plugin that interfaces with major ColdFusion IoC/DI frameworks
| Constructor Summary | |
|---|---|
init(any controller)
Constructor |
|
| Method Summary | |
|---|---|
private any |
buildAdapter(any framework, any definitionFile)
Build an IoC framework adapter and return it |
void |
configure()
Configure or Re-Configure the IoC Plugin |
any<boolean> |
containsBean(any beanName)
Check if the bean factory contains a bean |
any |
getAdapter()
Get the IoC Factory Adapter in use by this plugin |
any |
getBean(any beanName)
Get a Bean from the loaded object factory |
any |
getIOCDefinitionFile()
Get the definition file configured for this plugin |
any |
getIOCFramework()
Get the IoC framework name defined for this plugin |
any |
getIoCFactory()
Returns the IoC Factory in use |
private void |
processObjectCaching(any target, any cacheKey)
Process IoC object Caching |
void |
reloadDefinitionFile()
Reloads the IoC factory |
private any |
validateDefinitionFile(any definitionFile)
Validate the IoC Definition File |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(any controller)
controller - coldbox.system.web.Controller| Method Detail |
|---|
private any buildAdapter(any framework, any definitionFile)
framework - The framework adapter to builddefinitionFile - The framework definition file to loadpublic void configure()
public any<boolean> containsBean(any beanName)
beanName - The bean name to retrieve from the object factorypublic any getAdapter()
public any getBean(any beanName)
beanName - The bean name to retrieve from the object factorypublic any getIOCDefinitionFile()
public any getIOCFramework()
public any getIoCFactory()
private void processObjectCaching(any target, any cacheKey)
target - The bean target to inspectcacheKey - CacheKey to use if necessarypublic void reloadDefinitionFile()
private any validateDefinitionFile(any definitionFile)
definitionFile - The definition file to verify for loading
|
ColdBox Platform Version 3.1.0 | ||||
| FRAMES | |||||