|
ColdBox Platform Version 2.6.4 | ||||
| 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 such as ColdSpring and LightWire
| Constructor Summary | |
|---|---|
init(any controller)
Constructor |
|
| Method Summary | |
|---|---|
void |
configure()
Configure or Re-Configure the IoC Plugin |
private any |
createColdspring()
Creates the coldspring factory and configures it |
private any |
createLightwire()
Creates the lightwire factory and configures it |
private any |
createLightwireConfigBean()
Creates the lightwire config bean |
any |
getBean(string beanName)
Get a Bean from the loaded object factory |
string |
getCOLDSPRING_FACTORY()
Get COLDSPRING_FACTORY |
string |
getExpandedIOCDefinitionFile()
Get the full expanded path of the configuration file, only used for coldspring |
string |
getIOCDefinitionFile()
Get the definition file configured for this plugin |
string |
getIOCFramework()
Gets the IoC Framework string used: lightwire or coldspring |
any |
getIoCFactory()
Returns the IoC Factory in use |
string |
getLIGHTWIRE_FACTORY()
Get LIGHTWIRE_FACTORY |
void |
reloadDefinitionFile()
Reloads the IoC factory with the Definition File or Object |
void |
setCOLDSPRING_FACTORY(string COLDSPRING_FACTORY)
Set the instantiation path for ColdSpring |
void |
setExpandedIOCDefinitionFile(string ExpandedIOCDefinitionFile)
Set the full expanded path of the definition file |
void |
setIOCDefinitionFile(string IOCDefinitionFile)
Set the definition file configured for this plugin |
void |
setIOCFramework(string IOCFramework)
Set the IoC Framework used: lightwire or coldspring |
void |
setIoCFactory(any IoCFactory)
Override and set the IoCFactory the plugin will interface with |
void |
setLIGHTWIRE_FACTORY(string LIGHTWIRE_FACTORY)
Set the instantiation path for LightWire |
private void |
validateDefinitionFile()
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 |
|---|
public void configure()
private any createColdspring()
private any createLightwire()
private any createLightwireConfigBean()
public any getBean(string beanName)
beanName - The bean name to retrieve from the object factorypublic string getCOLDSPRING_FACTORY()
public string getExpandedIOCDefinitionFile()
public string getIOCDefinitionFile()
public string getIOCFramework()
public any getIoCFactory()
public string getLIGHTWIRE_FACTORY()
public void reloadDefinitionFile()
public void setCOLDSPRING_FACTORY(string COLDSPRING_FACTORY)
COLDSPRING_FACTORY - The instantiation path for coldspringpublic void setExpandedIOCDefinitionFile(string ExpandedIOCDefinitionFile)
ExpandedIOCDefinitionFile - The expanded path of the main coldspring xml filepublic void setIOCDefinitionFile(string IOCDefinitionFile)
IOCDefinitionFile - The relative or absolute location of the coldspring main xml file.public void setIOCFramework(string IOCFramework)
IOCFrameworkpublic void setIoCFactory(any IoCFactory)
IoCFactorypublic void setLIGHTWIRE_FACTORY(string LIGHTWIRE_FACTORY)
LIGHTWIRE_FACTORY - This is the instantiation path for lightwireprivate void validateDefinitionFile()
|
ColdBox Platform Version 2.6.4 | ||||
| FRAMES | |||||