4.6. MethodInvocation API Reference

MethodInvocation instance is passed as an argument of the invoke method of Interceptor. MethodInvocation manages Interceptors and performs the call of sequential execution and the method for an aspect. The instance for an aspect, method, method arguments, etc. are acquirable through MethodInvocation instance.

Seasar::Aop::MethodInvocation#proceed method. 

Interceptors and an actual method are called.

Seasar::Aop::MethodInvocation#this instance variable. 

Instance for an aspect is returned.

Seasar::Aop::MethodInvocation#method instance variable. 

Method of the method to which an aspect is applied is returned.

Seasar::Aop::MethodInvocation#component_class instance variable. 

Class of the class to which an aspect is applied is returned.

Seasar::Aop::MethodInvocation#args instance variable. 

Arguments of the method to which an aspect is applied is returned.



© Copyright The Seasar Foundation and the others 2008-2009, all rights reserved.