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 2010/01/22 20:12:21 UTC

[jira] Created: (OWB-249) ObserverMethods should not use the contextual instance directly but the proxy instead

ObserverMethods should not use the contextual instance directly but the proxy instead 
--------------------------------------------------------------------------------------

                 Key: OWB-249
                 URL: https://issues.apache.org/jira/browse/OWB-249
             Project: OpenWebBeans
          Issue Type: Bug
    Affects Versions: M3
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: M4


This is necessary to allow observer methods to get decorated:

{noformat}
@Transactional
public void onUserLogin(UserLoggedInEvent uli) {
  ... do something in the database ...
}
{noformat}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OWB-249) ObserverMethods should not use the contextual instance directly but the proxy instead

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OWB-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg resolved OWB-249.
-------------------------------

    Resolution: Fixed

> ObserverMethods should not use the contextual instance directly but the proxy instead 
> --------------------------------------------------------------------------------------
>
>                 Key: OWB-249
>                 URL: https://issues.apache.org/jira/browse/OWB-249
>             Project: OpenWebBeans
>          Issue Type: Bug
>    Affects Versions: M3
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: M4
>
>
> This is necessary to allow observer methods to get decorated:
> {noformat}
> @Transactional
> public void onUserLogin(@Observes UserLoggedInEvent uli) {
>   ... do something in the database ...
> }
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OWB-249) ObserverMethods should not use the contextual instance directly but the proxy instead

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OWB-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg updated OWB-249:
------------------------------

    Description: 
This is necessary to allow observer methods to get decorated:

{noformat}
@Transactional
public void onUserLogin(@Observes UserLoggedInEvent uli) {
  ... do something in the database ...
}
{noformat}


  was:
This is necessary to allow observer methods to get decorated:

{noformat}
@Transactional
public void onUserLogin(UserLoggedInEvent uli) {
  ... do something in the database ...
}
{noformat}



> ObserverMethods should not use the contextual instance directly but the proxy instead 
> --------------------------------------------------------------------------------------
>
>                 Key: OWB-249
>                 URL: https://issues.apache.org/jira/browse/OWB-249
>             Project: OpenWebBeans
>          Issue Type: Bug
>    Affects Versions: M3
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: M4
>
>
> This is necessary to allow observer methods to get decorated:
> {noformat}
> @Transactional
> public void onUserLogin(@Observes UserLoggedInEvent uli) {
>   ... do something in the database ...
> }
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.