coldbox.system.aop

Class Mixer

lucee.Component
    extended by 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

Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any binder
          WireBox Binder.

    • access = public
    • returntype = any
    true false
    any classID
          Class identity.

    • access = public
    • returntype = any
    true false
    any classMatchDictionary
          Class matching dictionary.

    • access = public
    • returntype = any
    true false
    any injector
          WireBox.

    • access = public
    • returntype = any
    true false
    any log
          Logging class.

    • access = public
    • returntype = any
    true false
    any mixerUtil
          Mixer utility object.

    • access = public
    • returntype = any
    true false
    any properties
          Listener properties.

    • access = public
    • returntype = any
    true false
    any system
          Java System.

    • access = public
    • returntype = any
    true false
    any uuid
          Java UUID Helper.

    • access = public
    • returntype = any
    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

    binder

    property any binder

    WireBox Binder

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    classID

    property any classID

    Class identity

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    classMatchDictionary

    property any classMatchDictionary

    Class matching dictionary

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    injector

    property any injector

    WireBox

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    log

    property any log

    Logging class

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    mixerUtil

    property any mixerUtil

    Mixer utility object

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    properties

    property any properties

    Listener properties

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    system

    property any system

    Java System

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    uuid

    property any uuid

    Java UUID Helper

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    Method Detail

    afterInstanceAutowire

    public any afterInstanceAutowire(any interceptData)

    Executes our AOP mixer after variabless are created and autowired

    Parameters:
    interceptData

    AOPBuilder

    private any AOPBuilder(any target, any mapping, any dictionary, any idCode)

    Build and weave all necessary advices on an object via method matching

    Parameters:
    target - The incoming target
    mapping - The incoming target mapping
    dictionary - The target aspect dictionary
    idCode - The incoming target identifier

    buildClassMatchDictionary

    private any buildClassMatchDictionary(any target, any mapping, any idCode)

    Build an aspect dictionary for incoming target objects

    Parameters:
    target - The incoming target
    mapping - The incoming target mapping
    idCode - The incoming target identifier

    buildInterceptors

    private array buildInterceptors(any aspects)

    Build out interceptors according to their aspect names

    Parameters:
    aspects - The aspects to construct

    configure

    public any configure(any injector, any properties)

    Listener constructor

    Parameters:
    injector - true
    properties - true

    decorateAOPTarget

    private any decorateAOPTarget(any target, any mapping)

    Decorate a target with AOP capabilities

    Parameters:
    target - The incoming target
    mapping - The incoming target mapping

    getBinder

    public string getBinder()


    getClassID

    public string getClassID()


    getClassMatchDictionary

    public string getClassMatchDictionary()


    getInjector

    public string getInjector()


    getLog

    public string getLog()


    getMixerUtil

    public string getMixerUtil()


    getProperties

    public string getProperties()


    getSystem

    public string getSystem()


    getUuid

    public string getUuid()


    processTargetMethods

    private any processTargetMethods(any target, any mapping, any metadata, any dictionary)

    Process target methods for AOP weaving

    Parameters:
    target - The incoming target
    mapping - The incoming target mapping
    metadata - The incoming target metadata
    dictionary - The target aspect dictionary

    setBinder

    public any setBinder(any binder)

    Parameters:
    binder

    setClassID

    public any setClassID(any classID)

    Parameters:
    classID

    setClassMatchDictionary

    public any setClassMatchDictionary(any classMatchDictionary)

    Parameters:
    classMatchDictionary

    setInjector

    public any setInjector(any injector)

    Parameters:
    injector

    setLog

    public any setLog(any log)

    Parameters:
    log

    setMixerUtil

    public any setMixerUtil(any mixerUtil)

    Parameters:
    mixerUtil

    setProperties

    public any setProperties(any properties)

    Parameters:
    properties

    setSystem

    public any setSystem(any system)

    Parameters:
    system

    setUuid

    public any setUuid(any uuid)

    Parameters:
    uuid

    weaveAdvice

    private any weaveAdvice(any target, any mapping, any jointPoint, any jointPointMD, any aspects)

    Weave an advise into a jointpoint

    Parameters:
    target - The incoming target
    mapping - The incoming target mapping
    jointPoint - The jointpoint to proxy
    jointPointMD - The jointpoint metdata to proxy
    aspects - The aspects to weave into the jointpoint