[jboss-jira] [JBoss JIRA] (AS7-2095) InvocationContext#getMethod does not return null for lifecycle callback methods

jaikiran pai (Updated) (JIRA) jira-events at lists.jboss.org
Fri Oct 14 03:10:16 EDT 2011


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

jaikiran pai updated AS7-2095:
------------------------------

       Fix Version/s: 7.1.0.Beta1
    Git Pull Request: https://github.com/jbossas/jboss-as/pull/439  (was: https://github.com/jbossas/jboss-as/pull/439)

    
> InvocationContext#getMethod does not return null for lifecycle callback methods
> -------------------------------------------------------------------------------
>
>                 Key: AS7-2095
>                 URL: https://issues.jboss.org/browse/AS7-2095
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EE
>    Affects Versions: 7.0.2.Final
>            Reporter: jaikiran pai
>            Assignee: jaikiran pai
>             Fix For: 7.1.0.Beta1
>
>
> The spec says, for InvocationContext.getMethod():
> {quote}
> getMethod
> java.lang.reflect.Method getMethod()
>     Returns the method of the target class for which the interceptor was invoked. For method interceptors, the method of the target class is returned. For lifecycle callback interceptors, a null value is returned.
>     Returns:
>         the method, or a null value
> {quote}
> However, currently invoking InvocationContext.getMethod() in a interceptor's lifecycle callback method returns a non-null value.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list