[forge-issues] [JBoss JIRA] (FORGE-2151) cdi-new-interceptor doesn't generate an @AroundInvoke on the method

George Gastaldi (JIRA) issues at jboss.org
Wed Nov 19 11:10:39 EST 2014


     [ https://issues.jboss.org/browse/FORGE-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Gastaldi updated FORGE-2151:
-----------------------------------
           Status: Closed  (was: Pull Request Sent)
    Fix Version/s: 2.12.3.Final
                       (was: 2.x Future)
       Resolution: Done


> cdi-new-interceptor doesn't generate an @AroundInvoke on the method
> -------------------------------------------------------------------
>
>                 Key: FORGE-2151
>                 URL: https://issues.jboss.org/browse/FORGE-2151
>             Project: Forge
>          Issue Type: Bug
>          Components: Java EE
>    Affects Versions: 2.12.2.Final
>            Reporter: Antonio Goncalves
>            Assignee: Antonio Goncalves
>             Fix For: 2.12.3.Final
>
>
> The {{cdi-new-interceptor}} generates the following method : 
> {code}
>  private Object intercept(InvocationContext ic) throws Exception
>    {
>       try
>       {
>          return ic.proceed();
>       }
>       finally
>       {
>       }
>    }
> {code}
> It misses an {{@AroundInvoke}}
> {code}
>   @AroundInvoke
>  private Object intercept(InvocationContext ic) throws Exception
>    {
>       try
>       {
>          return ic.proceed();
>       }
>       finally
>       {
>       }
>    }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the forge-issues mailing list