[ 
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.

Reply via email to