|
ColdBox Platform Version 2.6.3 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.frameworkSupertype
coldbox.system.plugin
coldbox.system.plugins.ioc
public class ioc
An Inversion Of Control plugin.
Constructor Summary | |
---|---|
init(any controller)
The ioc constructor |
Method Summary | |
---|---|
void |
configure()
Configure the IoC Plugin. Loads the IoC Factory and configures it. |
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 object factories |
string |
getCOLDSPRING_FACTORY()
Get COLDSPRING_FACTORY. This is the instantiation path for coldspring |
string |
getExpandedIOCDefinitionFile()
Get ExpandedIOCDefinitionFile, only used for coldspring |
string |
getIOCDefinitionFile()
Get the IOCDefinitionFile |
string |
getIOCFramework()
Gets the IoC Framework used: lightwire or coldspring |
any |
getIoCFactory()
Returns the IoC Factory in use. |
string |
getLIGHTWIRE_FACTORY()
Get LIGHTWIRE_FACTORY. This is the instantiation path for lightwire |
void |
reloadDefinitionFile()
Reloads the IoC factory with the Definition File or Object |
void |
setCOLDSPRING_FACTORY(string COLDSPRING_FACTORY)
Set COLDSPRING_FACTORY |
void |
setExpandedIOCDefinitionFile(string ExpandedIOCDefinitionFile)
Set ExpandedIOCDefinitionFile |
void |
setIOCDefinitionFile(string IOCDefinitionFile)
Set the IOCDefinitionFile |
void |
setIOCFramework(string IOCFramework)
Set the IoC Framework used: lightwire or coldspring |
void |
setIoCFactory(any IoCFactory)
Override and set the IoCFactory |
void |
setLIGHTWIRE_FACTORY(string LIGHTWIRE_FACTORY)
Set LIGHTWIRE_FACTORY |
private void |
validateDefinitionFile()
Validate the IoC Definition File. Called internally to verify the file location and get the correct path to it. |
Methods inherited from class coldbox.system.plugin |
---|
getPluginDescription, getPluginName, getPluginVersion, getpluginPath, setPluginDescription, setPluginName, setPluginVersion
|
Methods inherited from class WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init(any 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)
IOCFramework
public void setIoCFactory(any IoCFactory)
IoCFactory
public void setLIGHTWIRE_FACTORY(string LIGHTWIRE_FACTORY)
LIGHTWIRE_FACTORY
- This is the instantiation path for lightwireprivate void validateDefinitionFile()
|
ColdBox Platform Version 2.6.3 | ||||
FRAMES |