You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2011/03/21 16:30:05 UTC
[jira] [Resolved] (OWB-492) events don't get sent to private
@Observes methods
[ https://issues.apache.org/jira/browse/OWB-492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg resolved OWB-492.
-------------------------------
Resolution: Fixed
> events don't get sent to private @Observes methods
> --------------------------------------------------
>
> Key: OWB-492
> URL: https://issues.apache.org/jira/browse/OWB-492
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Events
> Affects Versions: 1.0.0
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Fix For: 1.1.0, 1.0.1
>
>
> We currently do not notify private observer methods correctly. This is caused by resolving a contextual reference is currently always performed to fulfil section 7.2 of the spec:
> "Invocations of producer, disposer and observer methods by the container are business method invocations and are in- tercepted by method interceptors and decorators."
> But since private methods are no business methods anyway, we can just resolve the contextual instance instead of the contextual reference in this case
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira