Skip to main content

Source code revision

svn

summary: Fix for GLASSFISH-15749 Backward porting of revision 44819 made in TRUNK.
revision: 44820
author: Sivakumar Thyagarajan
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

Change Path Actions
M branches/3.1/web/weld-integration/src/main/java/org/glassfish/weld/BeanDeploymentArchiveImpl.java
M branches/3.1/web/weld-integration/src/main/java/org/glassfish/weld/WeldDeployer.java
 
 
Close
loading
Please Confirm
Close