[webbeans-dev] @PersistenceContext
Andrew Lee Rubinger
alr at jboss.org
Sun Jan 4 22:56:31 EST 2009
I believe you want:
http://anonsvn.jboss.org/repos/jbossas/projects/jpa/trunk/deployers/src/main/java/org/jboss/jpa/resolvers/PersistenceUnitDependencyResolver.java
?
For @EJB I install the resolver impl instance into MC, so it can be
injected. Probably you want to do something similar here?
S,
ALR
Pete Muir wrote:
> Add ALR to the discussion.
>
> Andy, is this possible today with JBoss EJB3? I'll ping you about this
> sometime this week if possible. We will need a similar abstraction as
> EjbDescriptor does for listing out Ejbs in the application so we don't
> depend on a JBoss API - we can base it on whatever API you expose.
>
> On 27 Dec 2008, at 13:15, Gavin King wrote:
>
>> One thing I've noticed is that it's pretty hard for people to start
>> using web beans to build applications without the @PersistenceContext
>> annotation.
>>
>> So I guess we should get onto the AS team about exposing an API to
>> perform injection via @PersistenceContext, @Resource and @EJB. (Of
>> these, @PersistenceContext is easily the most important.)
>>
>> --
>> Gavin King
>> gavin.king at gmail.com
>> http://in.relation.to/Bloggers/Gavin
>> http://hibernate.org
>> http://seamframework.org
>> _______________________________________________
>> webbeans-dev mailing list
>> webbeans-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>
--
Andrew Lee Rubinger
Sr. Software Engineer
JBoss, a division of Red Hat, Inc.
http://exitcondition.alrubinger.com
More information about the weld-dev
mailing list