aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "AmirMohammad Vosough (JIRA)" <>
Subject [jira] [Commented] (ARIES-1787) Support "around" functionality when proxying an object
Date Wed, 28 Feb 2018 10:56:00 GMT


AmirMohammad Vosough commented on ARIES-1787:

created a small patch here:

> Support "around" functionality when proxying an object
> ------------------------------------------------------
>                 Key: ARIES-1787
>                 URL:
>             Project: Aries
>          Issue Type: Bug
>          Components: Proxy
>            Reporter: AmirMohammad Vosough
>            Priority: Major
> Right now the InvocationListener only has 3 methods for before execution, after successful
and after exception thrown execution.
> Sometimes we need something like AspectJ's "around" functionality where we can prevent the
actual method execution. The only option we have right now is to throw exception on preInvoke
but that doesn't allow normal object returning of method execution. An example scenario which
can not be done now is to proxy an object and cache the result of the method.

This message was sent by Atlassian JIRA

View raw message