[jira] Resolved: (OWB-246) BeanManager#getReference must create a bean with resolved dependencies
[ https://issues.apache.org/jira/browse/OWB-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Struberg resolved OWB-246. --- Resolution: Fixed Fix Version/s: (was: 1.0.0) M4 Assignee: Mark Struberg (was: Gurkan Erdogdu) fixed as far as the references. Please note that the problem with my private observer methods is caused by a different bug. See OWB-251 for more details. BeanManager#getReference must create a bean with resolved dependencies -- Key: OWB-246 URL: https://issues.apache.org/jira/browse/OWB-246 Project: OpenWebBeans Issue Type: Bug Components: Context and Scopes Affects Versions: M3 Reporter: Mark Struberg Assignee: Mark Struberg Priority: Blocker Fix For: M4 currently a bean reference will get returned but it all @Inject fields are null -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (OWB-251) Proxies created with JavassistProxyFactory do not intercept private functions
[ https://issues.apache.org/jira/browse/OWB-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12804252#action_12804252 ] Sven Linstaedt commented on OWB-251: As far as I remember, the EL specs also says, that only public methods are accessible. Proxies created with JavassistProxyFactory do not intercept private functions - Key: OWB-251 URL: https://issues.apache.org/jira/browse/OWB-251 Project: OpenWebBeans Issue Type: Bug Components: Core Affects Versions: M3 Reporter: Mark Struberg Assignee: Mark Struberg Priority: Critical Fix For: M4 Proxies created with JavassistProxyFactory do not intercept private functions. Private functions don't show up in the the generated proxies getMethods() nor in getDeclaredMethods(). This lead to problems like the one in OWB-246 and others. Basically no bean invocation to a private method works currently if it's done through the proxies. This is fortunately only the case if we invoke those functions internally: * invoking observer methods * invoking disposes methods * invoking interceptor methods Contrary to that, we should not allow e.g. accessing private functions via EL. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (OWB-251) Proxies created with JavassistProxyFactory do not intercept private functions
[ https://issues.apache.org/jira/browse/OWB-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12804292#action_12804292 ] Gurkan Erdogdu commented on OWB-251: Then do not define *private* methods :) Proxies created with JavassistProxyFactory do not intercept private functions - Key: OWB-251 URL: https://issues.apache.org/jira/browse/OWB-251 Project: OpenWebBeans Issue Type: Bug Components: Core Affects Versions: M3 Reporter: Mark Struberg Assignee: Mark Struberg Priority: Critical Fix For: M4 Proxies created with JavassistProxyFactory do not intercept private functions. Private functions don't show up in the the generated proxies getMethods() nor in getDeclaredMethods(). This lead to problems like the one in OWB-246 and others. Basically no bean invocation to a private method works currently if it's done through the proxies. This is fortunately only the case if we invoke those functions internally: * invoking observer methods * invoking disposes methods * invoking interceptor methods Contrary to that, we should not allow e.g. accessing private functions via EL. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
About (OWB-251) Proxies created with JavassistProxyFactory do not intercept private functions
Hi; I will close this issue because OWB must not intercept private methods. Therefore its OK to not intercept private methods of producer, observer etc. It is reasonable because __private__ methods are not called by any other methods that are not defined in __target__ object. I have also tried examples (private observer, private producer etc.) in RI Weld, it also does not intercept private methods. Therefore, I am going to close this issue. Thanks; --Gurkan
nexus procedure
hello, now the nexus is in place, I wonder if there is some wiki that documents the procedure to do the release, via nexus. Thanks! Matthias -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: About (OWB-251) Proxies created with JavassistProxyFactory do not intercept private functions
Also, interceptors are applied to business methods of the bean class. I have looked at the how business method restrictions are defined in the EJB 3.1 specification. It says that it must be __public__.(EJB 3.1 specification chapter, 4.9.6). --Gurkan 2010/1/25 Gurkan Erdogdu cgurkanerdo...@gmail.com Hi; I will close this issue because OWB must not intercept private methods. Therefore its OK to not intercept private methods of producer, observer etc. It is reasonable because __private__ methods are not called by any other methods that are not defined in __target__ object. I have also tried examples (private observer, private producer etc.) in RI Weld, it also does not intercept private methods. Therefore, I am going to close this issue. Thanks; --Gurkan -- Gurkan Erdogdu http://gurkanerdogdu.blogspot.com