You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by Gurkan Erdogdu <gu...@yahoo.com> on 2012/11/08 09:50:02 UTC
Method in OpenWebBeansEjbPlugin
Hello
There is a method "Method resolveViewMethod(Bean<?> component, Method declaredMethod);" in OpenWebBeansEjbPlugin? What is the meaning of this method? No comment there.
Gurkan
Re: Method in OpenWebBeansEjbPlugin
Posted by Gurkan Erdogdu <gu...@yahoo.com>.
+1
Gurkan
________________________________
Kimden: Mark Struberg <st...@yahoo.de>
Kime: "dev@openwebbeans.apache.org" <de...@openwebbeans.apache.org>
Gönderildiği Tarih: 9 Kasım 2012 23:42 Cuma
Konu: Re: Method in OpenWebBeansEjbPlugin
Sounds perfectly fine, but we still need some docs if we add such stuff. Especially if we do not use it internally.
LieGrue,
strub
----- Original Message -----
> From: Romain Manni-Bucau <rm...@gmail.com>
> To: dev@openwebbeans.apache.org
> Cc:
> Sent: Thursday, November 8, 2012 11:21 PM
> Subject: Re: Method in OpenWebBeansEjbPlugin
>
> Hi guys,
>
> right, you can have a quick look in openejb
> on org.apache.openejb.cdi.CdiPlugin#resolveViewMethod but you got the idea
>
> OWB doesn't know anything about EJB so it needs to ask it to "somebody
> else" (at least i understand this method this way ;))
>
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog:
> **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
>
> 2012/11/8 Joseph Bergmark <be...@gmail.com>
>
>> I believe this method is used to take the actual method annotated and
>> find which method that corresponds to in an EJB interface. The one
>> place I see it used in the code is DefinitionUtil when its trying to
>> determine the producer/disposer methods. I believe the concern is the
>> proxy that is built by the EJB container can only validly be called
>> from methods on the interface but not the method from the concrete
>> class (unless it is a NIV EJB).
>>
>> svn blame seems to hint that David changed these lines most recently,
>> so I would defer to him on this.
>>
>> Sincerely,
>>
>> Joe
>>
>> On Thu, Nov 8, 2012 at 3:50 AM, Gurkan Erdogdu
> <gu...@yahoo.com>
>> wrote:
>> > Hello
>> >
>> > There is a method "Method resolveViewMethod(Bean<?>
> component, Method
>> declaredMethod);" in OpenWebBeansEjbPlugin? What is the meaning of
> this
>> method? No comment there.
>> >
>> >
>> > Gurkan
>>
>
Re: Method in OpenWebBeansEjbPlugin
Posted by Mark Struberg <st...@yahoo.de>.
Sounds perfectly fine, but we still need some docs if we add such stuff. Especially if we do not use it internally.
LieGrue,
strub
----- Original Message -----
> From: Romain Manni-Bucau <rm...@gmail.com>
> To: dev@openwebbeans.apache.org
> Cc:
> Sent: Thursday, November 8, 2012 11:21 PM
> Subject: Re: Method in OpenWebBeansEjbPlugin
>
> Hi guys,
>
> right, you can have a quick look in openejb
> on org.apache.openejb.cdi.CdiPlugin#resolveViewMethod but you got the idea
>
> OWB doesn't know anything about EJB so it needs to ask it to "somebody
> else" (at least i understand this method this way ;))
>
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog:
> **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
>
> 2012/11/8 Joseph Bergmark <be...@gmail.com>
>
>> I believe this method is used to take the actual method annotated and
>> find which method that corresponds to in an EJB interface. The one
>> place I see it used in the code is DefinitionUtil when its trying to
>> determine the producer/disposer methods. I believe the concern is the
>> proxy that is built by the EJB container can only validly be called
>> from methods on the interface but not the method from the concrete
>> class (unless it is a NIV EJB).
>>
>> svn blame seems to hint that David changed these lines most recently,
>> so I would defer to him on this.
>>
>> Sincerely,
>>
>> Joe
>>
>> On Thu, Nov 8, 2012 at 3:50 AM, Gurkan Erdogdu
> <gu...@yahoo.com>
>> wrote:
>> > Hello
>> >
>> > There is a method "Method resolveViewMethod(Bean<?>
> component, Method
>> declaredMethod);" in OpenWebBeansEjbPlugin? What is the meaning of
> this
>> method? No comment there.
>> >
>> >
>> > Gurkan
>>
>
Re: Method in OpenWebBeansEjbPlugin
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi guys,
right, you can have a quick look in openejb
on org.apache.openejb.cdi.CdiPlugin#resolveViewMethod but you got the idea
OWB doesn't know anything about EJB so it needs to ask it to "somebody
else" (at least i understand this method this way ;))
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2012/11/8 Joseph Bergmark <be...@gmail.com>
> I believe this method is used to take the actual method annotated and
> find which method that corresponds to in an EJB interface. The one
> place I see it used in the code is DefinitionUtil when its trying to
> determine the producer/disposer methods. I believe the concern is the
> proxy that is built by the EJB container can only validly be called
> from methods on the interface but not the method from the concrete
> class (unless it is a NIV EJB).
>
> svn blame seems to hint that David changed these lines most recently,
> so I would defer to him on this.
>
> Sincerely,
>
> Joe
>
> On Thu, Nov 8, 2012 at 3:50 AM, Gurkan Erdogdu <gu...@yahoo.com>
> wrote:
> > Hello
> >
> > There is a method "Method resolveViewMethod(Bean<?> component, Method
> declaredMethod);" in OpenWebBeansEjbPlugin? What is the meaning of this
> method? No comment there.
> >
> >
> > Gurkan
>
Re: Method in OpenWebBeansEjbPlugin
Posted by Joseph Bergmark <be...@gmail.com>.
I believe this method is used to take the actual method annotated and
find which method that corresponds to in an EJB interface. The one
place I see it used in the code is DefinitionUtil when its trying to
determine the producer/disposer methods. I believe the concern is the
proxy that is built by the EJB container can only validly be called
from methods on the interface but not the method from the concrete
class (unless it is a NIV EJB).
svn blame seems to hint that David changed these lines most recently,
so I would defer to him on this.
Sincerely,
Joe
On Thu, Nov 8, 2012 at 3:50 AM, Gurkan Erdogdu <gu...@yahoo.com> wrote:
> Hello
>
> There is a method "Method resolveViewMethod(Bean<?> component, Method declaredMethod);" in OpenWebBeansEjbPlugin? What is the meaning of this method? No comment there.
>
>
> Gurkan