aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <>
Subject [jira] [Commented] (ARIES-1787) Support "around" functionality when proxying an object
Date Wed, 20 May 2020 08:42:00 GMT


ASF subversion and git services commented on ARIES-1787:

Commit 09e60c68ed874439c8a82eac92720df23ba1ad15 in aries's branch refs/heads/trunk from jbonofre
[;h=09e60c6 ]

[ARIES-1787] Add around functionnality on object proxy

> Support "around" functionality when proxying an object
> ------------------------------------------------------
>                 Key: ARIES-1787
>                 URL:
>             Project: Aries
>          Issue Type: Improvement
>          Components: Proxy
>            Reporter: AmirMohammad Vosough
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: proxy-api-1.1.1, proxy-impl-1.1.7
> 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