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

Antonio Goncalves (JIRA) issues at jboss.org
Sun Nov 16 10:12:39 EST 2014


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

Antonio Goncalves updated FORGE-2151:
-------------------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/forge/core/pull/524


> 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.x Future
>
>
> 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