openwebbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Method in OpenWebBeansEjbPlugin
Date Thu, 08 Nov 2012 22:21:56 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message