coldbox.system.aop

Class Mixer

railo-context.Component
        extended by coldbox.system.aop.Mixer
Class Attributes:
  • output : false
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  

    I am a WireBox listener that provides you with AOP capabilities in your objects

    Method Summary
    any afterInstanceAutowire([any interceptData])
         Executes our AOP mixer after instances 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 any buildInterceptors(any aspects)
         Build out interceptors according to their aspect names.
    any configure(any injector, any properties)
         Constructor.
    private any decorateAOPTarget(any target, any mapping)
         Decorate a target with AOP capabilities.
    any getClassMatchDictionary()
         Get the class matcher dictionary.
    private any processTargetMethods(any target, any mapping, any metadata, any dictionary)
         Process target methods for AOP weaving.
    private any weaveAdvice(any target, any mapping, any jointPoint, any jointPointMD, any aspects)
         Weave an advise into a jointpoint.
     
    Methods inherited from class railo-context.Component
    None

    Method Detail

    afterInstanceAutowire

    public any afterInstanceAutowire([any interceptData])

    Executes our AOP mixer after instances 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 any buildInterceptors(any aspects)

    Build out interceptors according to their aspect names

    Parameters:
    aspects - The aspects array to construct

    configure

    public any configure(any injector, any properties)

    Constructor

    Parameters:
    injector - The injector I am linked to
    properties - AOP listener properties

    decorateAOPTarget

    private any decorateAOPTarget(any target, any mapping)

    Decorate a target with AOP capabilities

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

    getClassMatchDictionary

    public any getClassMatchDictionary()

    Get the class matcher dictionary


    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

    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 metadata to proxy
    aspects - The aspects to weave into the jointpoint