Women in Technology

Hear us Roar



Article:
  Aspect-Oriented Programming and JBoss
Subject:   access method parameters
Date:   2003-06-03 08:15:50
From:   anonymous2
Hi,
how can I access the parameters of a method? I want the values not only the types....


thx.


Horst.

Full Threads Newest First

Showing messages 1 through 1 of 1.

  • access method parameters
    2003-06-03 08:31:11  anonymous2 [View]

    Like this:

    public InvocationResponse invoke(Invocation)
    throws Throwable
    {
    Object[] args = MethodInvocation.getArguments(invocation);
    ...
    }

    Regards,
    Adrian