|
ColdBox Platform Version 3.7.0 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.ioc.Builder
public class Builder
The WireBox builder for components, java, etc. I am in charge of building stuff and integration dsl builders.
Constructor Summary | |
---|---|
init(any<Injector> injector)
Constructor |
Method Summary | |
---|---|
any |
buildArgumentCollection(any<Mapping> mapping, any argumentArray, any targetObject)
Build arguments for a mapping and return the structure representation |
any |
buildCFC(any<Mapping> mapping, [any<struct> initArguments='[runtime expression]'])
Build a cfc class via mappings |
any |
buildDSLDependency(any definition, any targetID, [any targetObject=''])
Build a DSL Dependency, if not found, returns null |
any |
buildFactoryMethod(any<Mapping> mapping, [any<struct> initArguments='[runtime expression]'])
Build an object using a factory method |
any |
buildFeed(any<Mapping> mapping)
Build an rss feed the WireBox way |
any |
buildJavaClass(any<Mapping> mapping)
Build a Java class via mappings |
any |
buildProviderMixer()
Used to provider providers via mixers on targeted objects |
any |
buildSimpleDSL(any dsl, any targetID, [any targetObject=''])
Build a DSL Dependency using a simple dsl string |
any |
buildWebservice(any<Mapping> mapping, [any<struct> initArguments='[runtime expression]'])
Build a webservice object |
any<struct> |
getCustomDSL()
Get the registered custom dsl instances structure |
private any |
getEntityServiceDSL(any definition, [any targetObject])
Get a virtual entity service object |
private any |
getJavaDSL(any definition, [any targetObject])
Get a Java object |
private any |
getModelDSL(any definition, [any targetObject])
Get dependencies using the model dependency DSL |
private any |
getProviderDSL(any definition, [any targetObject=''])
Get dependencies using the our provider pattern DSL |
private any |
getWireBoxDSL(any definition, [any targetObject])
Get dependencies using the wirebox dependency DSL |
any |
registerCustomBuilders()
Register custom DSL builders with this main wirebox builder |
void |
toVirtualInheritance(any mapping, any target)
Do our virtual inheritance magic |
Methods inherited from class WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init(any<Injector> injector)
injector
- The linked WireBox injectorMethod Detail |
---|
public any buildArgumentCollection(any<Mapping> mapping, any argumentArray, any targetObject)
mapping
- The mapping to constructargumentArray
- The argument array of datatargetObject
- The target object we are building the DSL dependency forpublic any buildCFC(any<Mapping> mapping, [any<struct> initArguments='[runtime expression]'])
mapping
- The mapping to constructinitArguments
- The constructor structure of arguments to passthrough when initializing the instancepublic any buildDSLDependency(any definition, any targetID, [any targetObject=''])
definition
- The dependency definition structure: name, dsl as keystargetID
- The target ID we are building this dependency fortargetObject
- The target object we are building the DSL dependency for. If empty, means we are just requesting buildingpublic any buildFactoryMethod(any<Mapping> mapping, [any<struct> initArguments='[runtime expression]'])
mapping
- The mapping to constructinitArguments
- The constructor structure of arguments to passthrough when initializing the instancepublic any buildFeed(any<Mapping> mapping)
mapping
- The mapping to constructpublic any buildJavaClass(any<Mapping> mapping)
mapping
- The mapping to constructpublic any buildProviderMixer()
public any buildSimpleDSL(any dsl, any targetID, [any targetObject=''])
dsl
- The dsl string to buildtargetID
- The target ID we are building this dependency fortargetObject
- The target object we are building the DSL dependency forpublic any buildWebservice(any<Mapping> mapping, [any<struct> initArguments='[runtime expression]'])
mapping
- The mapping to constructinitArguments
- The constructor structure of arguments to passthrough when initializing the instancepublic any<struct> getCustomDSL()
private any getEntityServiceDSL(any definition, [any targetObject])
definition
- The dependency definition structuretargetObject
- The target object we are building the DSL dependency for. If empty, means we are just requesting buildingprivate any getJavaDSL(any definition, [any targetObject])
definition
- The dependency definition structuretargetObject
- The target object we are building the DSL dependency for. If empty, means we are just requesting buildingprivate any getModelDSL(any definition, [any targetObject])
definition
- The dependency definition structuretargetObject
- The target object we are building the DSL dependency for. If empty, means we are just requesting buildingprivate any getProviderDSL(any definition, [any targetObject=''])
definition
- The dependency definition structuretargetObject
- The target object we are building the DSL dependency for. If empty, means we are just requesting buildingprivate any getWireBoxDSL(any definition, [any targetObject])
definition
- The dependency definition structuretargetObject
- The target object we are building the DSL dependency for. If empty, means we are just requesting buildingpublic any registerCustomBuilders()
public void toVirtualInheritance(any mapping, any target)
mapping
- The mapping to convert totarget
- The target object
|
ColdBox Platform Version 3.7.0 | ||||
FRAMES |