tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1530334 - /tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/ReadDescriptors.java
Date Tue, 08 Oct 2013 16:10:28 GMT
Author: rmannibucau
Date: Tue Oct  8 16:10:28 2013
New Revision: 1530334

URL: http://svn.apache.org/r1530334
Log:
using JaxbJavaee to unmarshall web-fragment.xml instead of JaxbOpenejb (IDE completion surely)

Modified:
    tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/ReadDescriptors.java

Modified: tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/ReadDescriptors.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/ReadDescriptors.java?rev=1530334&r1=1530333&r2=1530334&view=diff
==============================================================================
--- tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/ReadDescriptors.java
(original)
+++ tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/ReadDescriptors.java
Tue Oct  8 16:10:28 2013
@@ -562,7 +562,7 @@ public class ReadDescriptors implements 
                 if (rawUrl != null) {
                     final Source url = getSource(rawUrl);
                     try {
-                        final WebFragment webFragment = JaxbOpenejb.unmarshal(WebFragment.class,
url.get());
+                        final WebFragment webFragment = WebFragment.class.cast(JaxbJavaee.unmarshal(WebFragment.class,
url.get(), false));
 
                         // in tomcat if the env entry is already don't override it
                         mergeOnlyMissingEntries(webModule.getWebApp().getPersistenceContextRefMap(),
webFragment.getPersistenceContextRef());



Mime
View raw message