[jboss-jira] [JBoss JIRA] Commented: (JBAS-9033) InvocationContext.getContextData() returns null when used in a interceptor

jaikiran pai (JIRA) jira-events at lists.jboss.org
Thu Mar 17 09:56:45 EDT 2011


    [ https://issues.jboss.org/browse/JBAS-9033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588616#comment-12588616 ] 

jaikiran pai commented on JBAS-9033:
------------------------------------

Fixed in https://github.com/jbossas/jboss-invocation/commit/ad955a0ef86c276c9a09f4a8288c82d44cae8b88.

Needs a release of jboss-invocation.


> InvocationContext.getContextData() returns null when used in a interceptor
> --------------------------------------------------------------------------
>
>                 Key: JBAS-9033
>                 URL: https://issues.jboss.org/browse/JBAS-9033
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 7.0.0.Beta1
>         Environment: JBoss AS7 master, JBoss AS 7.0 Beta1
>            Reporter: jaikiran pai
>            Assignee: jaikiran pai
>
> The javax.interceptor.InvocationContext#getContextData() http://download.oracle.com/javaee/6/api/javax/interceptor/InvocationContext.html#getContextData%28%29 states:
> {quote}
> Returns the context data associated with this invocation or lifecycle callback. If there is no context data, an empty Map<String,Object> object will be returned. 
> {quote}
> However when the InvocationContext.getContextData() is used in an interceptor, it returns null.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list