coldbox.system.aop

Class MethodInvocation

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

    I model a method invocation call

    Constructor Summary
    init(any method, any args, any methodMetadata, any target, any targetName, any<Mapping> targetMapping, any interceptors)
          Constructor.
    Method Summary
    any<struct> getArgs()
         Get the argument collection of this method invocation.
    any<numeric> getInterceptorIndex()
         Get the currently executing interceptor index.
    any<array> getInterceptors()
         Get the array of aspect interceptors for this method invocation.
    any getMethod()
         Return the method name that was intercepted for this method invocation.
    any getMethodMetadata()
         Return methods's metadata that was intercepted for this method invocation.
    any getTarget()
         Get the original target object of this method invocation.
    any getTargetMapping()
         Get the wirebox mapping of this target.
    any getTargetName()
         Get the name of this target.
    any incrementInterceptorIndex()
         Increment the interceptor index pointer.
    any proceed()
         Proceed execution of the method invocation.
    any setArgs(any args)
         Set the argument collection of this method invocation, override orginal.
     
    Methods inherited from class railo-context.Component
    None

    Constructor Detail

    init

    public init(any method, any args, any methodMetadata, any target, any targetName, any<Mapping> targetMapping, any interceptors)

    Constructor

    Parameters:
    method - The method name that was intercepted
    args - The argument collection that was intercepted
    methodMetadata - The method metadata that was intercepted
    target - The target object reference that was intercepted
    targetName - The name of the target wired up
    targetMapping - The target's mapping object reference
    interceptors - The array of interceptors for this invocation

    Method Detail

    getArgs

    public any<struct> getArgs()

    Get the argument collection of this method invocation


    getInterceptorIndex

    public any<numeric> getInterceptorIndex()

    Get the currently executing interceptor index


    getInterceptors

    public any<array> getInterceptors()

    Get the array of aspect interceptors for this method invocation


    getMethod

    public any getMethod()

    Return the method name that was intercepted for this method invocation


    getMethodMetadata

    public any getMethodMetadata()

    Return methods's metadata that was intercepted for this method invocation


    getTarget

    public any getTarget()

    Get the original target object of this method invocation


    getTargetMapping

    public any getTargetMapping()

    Get the wirebox mapping of this target


    getTargetName

    public any getTargetName()

    Get the name of this target


    incrementInterceptorIndex

    public any incrementInterceptorIndex()

    Increment the interceptor index pointer


    proceed

    public any proceed()

    Proceed execution of the method invocation


    setArgs

    public any setArgs(any args)

    Set the argument collection of this method invocation, override orginal

    Parameters:
    args - The argument collection that you want to now use