|summary:||Fix for GLASSFISH-15749 Backward porting of revision 44819 made in TRUNK.|
|date:||2011-02-02 08:27:41 UTC (5 years)|
|message:||Fix for GLASSFISH-15749
Backward porting of revision 44819 made in TRUNK.
-- commit message
In the scenario discussed in GLASSFISH-15749, Java EE style resource injection(@PersistenceContext) wasn't happening in bundled libraries (WEB-INF/lib/*.jar) of a WAR. GlassFish wasn't adding InjectionServices Service for the BeanDeploymentArchive of the bundled library, and hence Weld wasn't calling GF to perform injection on Beans bundled in the bundled library. Also setting the WAR BDA as an accessible BDA of the bundled libraries.
Approved by: Nazrul
Reviewed by: Jerome
Tests run: QL(Classic and Web profile) with and without SecurityManager enabled,
StockQuote sample, test provided in GLASSFISH-15749, CDI TCK without security manager.
Added the following developer test: javaee-integration/cdi-servlet-3.0-annotation-with-web-inf-lib-javaee-injection