You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2010/08/19 19:10:16 UTC

[jira] Resolved: (OPENEJB-1334) Calling non-public methods on a local bean proxy must throw EJBException

     [ https://issues.apache.org/jira/browse/OPENEJB-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor resolved OPENEJB-1334.
----------------------------------

    Resolution: Fixed

Committed fixes for this issue to trunk in revision 987233. I updated the LocalBeanProxyGeneratorImpl to generate a proxy that takes two invocation handlers. One named 'businessHandler' that is invoked when a public method is called, and another one named 'nonBusinessHandler' that is invoked when a non-public (protected or default) method is called.


> Calling non-public methods on a local bean proxy must throw EJBException
> ------------------------------------------------------------------------
>
>                 Key: OPENEJB-1334
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1334
>             Project: OpenEJB
>          Issue Type: Improvement
>          Components: ejb31
>    Affects Versions: (trunk/openejb3)
>            Reporter: Jarek Gawor
>            Assignee: Jarek Gawor
>             Fix For: 3.2
>
>
> As per specification calling non-public methods on a local bean proxy must throw EJBException. 
> This will require modifying the local bean proxy generation code to intercept calls to protected, default methods in addition to public methods.

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