openwebbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject Re: Method in OpenWebBeansEjbPlugin
Date Fri, 09 Nov 2012 21:42:33 GMT
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 <rmannibucau@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 <bergmark@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 
> <gurkanerdogdu@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
>> 
> 

Mime
View raw message