JSecurity

org.jsecurity.aop
Interface MethodInvocation


public interface MethodInvocation

3rd-party API independent representation of a method invocation. This is needed so JSecurity can support other MethodInvocation instances from other AOP frameworks/APIs.

Since:
0.1
Author:
Jeremy Haile, Les Hazlewood

Method Summary
 Object[] getArguments()
          Returns the (possibly null) arguments to be supplied to the method invocation.
 Method getMethod()
          Returns the actual Method to be invoked.
 Object proceed()
          Continues the method invocation chain, or if the last in the chain, the method itself.
 

Method Detail

proceed

Object proceed()
               throws Throwable
Continues the method invocation chain, or if the last in the chain, the method itself.

Returns:
the result of the Method invocation.
Throws:
Throwable - if the method or chain throws a Throwable

getMethod

Method getMethod()
Returns the actual Method to be invoked.

Returns:
the actual Method to be invoked.

getArguments

Object[] getArguments()
Returns the (possibly null) arguments to be supplied to the method invocation.

Returns:
the (possibly null) arguments to be supplied to the method invocation.

JSecurity

Copyright © 2004-2008 JSecurity.