[jboss-as7-dev] How can an injector derive the DeploymentUnit from the class that is being injected into?

Scott Marlow smarlow at redhat.com
Wed Mar 2 10:46:42 EST 2011


On 02/28/2011 04:44 PM, Scott Marlow wrote:
> Is there currently a way to derive the DeploymentUnit for the object
> that is being injected into?

Not yet but David's EE changes will allow this (when they are merged 
into as7 master).

>
> This will help me to identify which PersistenceUnit service to access.
> The service name is derived from the persistence unit name and the fully
> qualified path to it (e.g. myapp.ear/lib/myejb3stuff.jar#MY-PU-DEF).
>
> Scott
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev




More information about the jboss-as7-dev mailing list