lucee.Component coldbox.system.aop.Mixer
Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- I am a WireBox listener that provides you with AOP capabilities in your objects. Listener Properties: - generationPath:path - The include path used for code generation - dictionaryReload:boolean(false) - The flag to always reload aspect dictionary discover information, great for development
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
binder
WireBox Binder.
|
true
|
false
|
|
any
|
classID
Class identity.
|
true
|
false
|
|
any
|
classMatchDictionary
Class matching dictionary.
|
true
|
false
|
|
any
|
injector
WireBox.
|
true
|
false
|
|
any
|
log
Logging class.
|
true
|
false
|
|
any
|
mixerUtil
Mixer utility object.
|
true
|
false
|
|
any
|
properties
Listener properties.
|
true
|
false
|
|
any
|
system
Java System.
|
true
|
false
|
|
any
|
uuid
Java UUID Helper.
|
true
|
false
|
Method Summary | |
---|---|
any
|
afterInstanceAutowire(any interceptData)
Executes our AOP mixer after variabless are created and autowired. |
private any
|
AOPBuilder(any target, any mapping, any dictionary, any idCode)
Build and weave all necessary advices on an object via method matching. |
private any
|
buildClassMatchDictionary(any target, any mapping, any idCode)
Build an aspect dictionary for incoming target objects. |
private array
|
buildInterceptors(any aspects)
Build out interceptors according to their aspect names. |
any
|
configure(any injector, any properties)
Listener constructor. |
private any
|
decorateAOPTarget(any target, any mapping)
Decorate a target with AOP capabilities. |
string
|
getBinder()
|
string
|
getClassID()
|
string
|
getClassMatchDictionary()
|
string
|
getInjector()
|
string
|
getLog()
|
string
|
getMixerUtil()
|
string
|
getProperties()
|
string
|
getSystem()
|
string
|
getUuid()
|
private any
|
processTargetMethods(any target, any mapping, any metadata, any dictionary)
Process target methods for AOP weaving. |
any
|
setBinder(any binder)
|
any
|
setClassID(any classID)
|
any
|
setClassMatchDictionary(any classMatchDictionary)
|
any
|
setInjector(any injector)
|
any
|
setLog(any log)
|
any
|
setMixerUtil(any mixerUtil)
|
any
|
setProperties(any properties)
|
any
|
setSystem(any system)
|
any
|
setUuid(any uuid)
|
private any
|
weaveAdvice(any target, any mapping, any jointPoint, any jointPointMD, any aspects)
Weave an advise into a jointpoint. |
Methods inherited from class lucee.Component |
---|
None |
Property Detail |
---|
WireBox Binder
access
- publicrequired
- falsereturntype
- anyserializable
- trueClass identity
access
- publicrequired
- falsereturntype
- anyserializable
- trueClass matching dictionary
access
- publicrequired
- falsereturntype
- anyserializable
- trueWireBox
access
- publicrequired
- falsereturntype
- anyserializable
- trueLogging class
access
- publicrequired
- falsereturntype
- anyserializable
- trueMixer utility object
access
- publicrequired
- falsereturntype
- anyserializable
- trueListener properties
access
- publicrequired
- falsereturntype
- anyserializable
- trueJava System
access
- publicrequired
- falsereturntype
- anyserializable
- trueJava UUID Helper
access
- publicrequired
- falsereturntype
- anyserializable
- trueMethod Detail |
---|
Executes our AOP mixer after variabless are created and autowired
interceptData
Build and weave all necessary advices on an object via method matching
target
- The incoming targetmapping
- The incoming target mappingdictionary
- The target aspect dictionaryidCode
- The incoming target identifierBuild an aspect dictionary for incoming target objects
target
- The incoming targetmapping
- The incoming target mappingidCode
- The incoming target identifierBuild out interceptors according to their aspect names
aspects
- The aspects to constructListener constructor
injector
- trueproperties
- trueDecorate a target with AOP capabilities
target
- The incoming targetmapping
- The incoming target mappingProcess target methods for AOP weaving
target
- The incoming targetmapping
- The incoming target mappingmetadata
- The incoming target metadatadictionary
- The target aspect dictionarybinder
classID
classMatchDictionary
injector
log
mixerUtil
properties
system
uuid
Weave an advise into a jointpoint
target
- The incoming targetmapping
- The incoming target mappingjointPoint
- The jointpoint to proxyjointPointMD
- The jointpoint metdata to proxyaspects
- The aspects to weave into the jointpoint