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

Scott Marlow smarlow at redhat.com
Mon Feb 28 16:44:30 EST 2011


Is there currently a way to derive the DeploymentUnit for the object 
that is being injected into?

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



More information about the jboss-as7-dev mailing list