aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From timothyjw...@apache.org
Subject svn commit: r1180069 - in /aries/trunk/ejb/openejb-extender: pom.xml src/main/java/org/apache/aries/ejb/openejb/extender/AriesProxyService.java src/main/java/org/apache/aries/ejb/openejb/extender/EJBExtender.java
Date Fri, 07 Oct 2011 15:19:14 GMT
Author: timothyjward
Date: Fri Oct  7 15:19:14 2011
New Revision: 1180069

URL: http://svn.apache.org/viewvc?rev=1180069&view=rev
Log:
ARIES-754: Update testsupport version and subsequent pom dependencies

Modified:
    aries/trunk/ejb/openejb-extender/pom.xml
    aries/trunk/ejb/openejb-extender/src/main/java/org/apache/aries/ejb/openejb/extender/AriesProxyService.java
    aries/trunk/ejb/openejb-extender/src/main/java/org/apache/aries/ejb/openejb/extender/EJBExtender.java

Modified: aries/trunk/ejb/openejb-extender/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/ejb/openejb-extender/pom.xml?rev=1180069&r1=1180068&r2=1180069&view=diff
==============================================================================
--- aries/trunk/ejb/openejb-extender/pom.xml (original)
+++ aries/trunk/ejb/openejb-extender/pom.xml Fri Oct  7 15:19:14 2011
@@ -92,7 +92,7 @@
         <dependency>
         	<groupId>org.apache.aries.testsupport</groupId>
         	<artifactId>org.apache.aries.testsupport.unit</artifactId>
-        	<version>0.3.1-SNAPSHOT</version>
+        	<version>0.4-SNAPSHOT</version>
         	<scope>test</scope>
         </dependency>
         <dependency>

Modified: aries/trunk/ejb/openejb-extender/src/main/java/org/apache/aries/ejb/openejb/extender/AriesProxyService.java
URL: http://svn.apache.org/viewvc/aries/trunk/ejb/openejb-extender/src/main/java/org/apache/aries/ejb/openejb/extender/AriesProxyService.java?rev=1180069&r1=1180068&r2=1180069&view=diff
==============================================================================
--- aries/trunk/ejb/openejb-extender/src/main/java/org/apache/aries/ejb/openejb/extender/AriesProxyService.java
(original)
+++ aries/trunk/ejb/openejb-extender/src/main/java/org/apache/aries/ejb/openejb/extender/AriesProxyService.java
Fri Oct  7 15:19:14 2011
@@ -31,8 +31,6 @@ import java.util.concurrent.ConcurrentHa
 import java.util.concurrent.ConcurrentMap;
 import java.util.concurrent.atomic.AtomicReference;
 
-import javax.resource.spi.IllegalStateException;
-
 import org.apache.aries.proxy.InvocationListener;
 import org.apache.aries.proxy.ProxyManager;
 import org.apache.aries.proxy.UnableToProxyException;
@@ -87,6 +85,8 @@ public class AriesProxyService implement
       if(c == null)
         throw new IllegalStateException("Unable to establish any context");
       else if (c.equals(Object.class)) {
+        //This is a toString or similar, just use an interface we know
+        //we can see and that doesn't have any methods on it :)
         c = Serializable.class;
       }
       

Modified: aries/trunk/ejb/openejb-extender/src/main/java/org/apache/aries/ejb/openejb/extender/EJBExtender.java
URL: http://svn.apache.org/viewvc/aries/trunk/ejb/openejb-extender/src/main/java/org/apache/aries/ejb/openejb/extender/EJBExtender.java?rev=1180069&r1=1180068&r2=1180069&view=diff
==============================================================================
--- aries/trunk/ejb/openejb-extender/src/main/java/org/apache/aries/ejb/openejb/extender/EJBExtender.java
(original)
+++ aries/trunk/ejb/openejb-extender/src/main/java/org/apache/aries/ejb/openejb/extender/EJBExtender.java
Fri Oct  7 15:19:14 2011
@@ -19,15 +19,9 @@ package org.apache.aries.ejb.openejb.ext
 import java.io.IOException;
 import java.lang.reflect.Field;
 import java.net.URL;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
 import java.util.Collections;
 import java.util.Dictionary;
 import java.util.Enumeration;
-import java.util.HashSet;
-import java.util.Hashtable;
-import java.util.List;
 import java.util.Map;
 import java.util.Properties;
 import java.util.concurrent.ConcurrentHashMap;
@@ -36,25 +30,17 @@ import java.util.concurrent.ConcurrentMa
 import javax.naming.NamingException;
 
 import org.apache.aries.util.AriesFrameworkUtil;
-import org.apache.aries.util.manifest.ManifestHeaderProcessor;
-import org.apache.aries.util.manifest.ManifestHeaderProcessor.NameValuePair;
 import org.apache.aries.util.tracker.RecursiveBundleTracker;
-import org.apache.openejb.AppContext;
-import org.apache.openejb.BeanContext;
-import org.apache.openejb.ContainerType;
 import org.apache.openejb.OpenEJBException;
 import org.apache.openejb.assembler.classic.Assembler;
 import org.apache.openejb.assembler.classic.EjbJarInfo;
 import org.apache.openejb.assembler.classic.ProxyFactoryInfo;
-import org.apache.openejb.assembler.classic.ProxyInterfaceResolver;
 import org.apache.openejb.assembler.classic.SecurityServiceInfo;
 import org.apache.openejb.assembler.classic.TransactionServiceInfo;
 import org.apache.openejb.assembler.dynamic.PassthroughFactory;
 import org.apache.openejb.config.ConfigurationFactory;
 import org.apache.openejb.config.EjbModule;
 import org.apache.openejb.config.ValidationContext;
-import org.apache.openejb.jee.EjbJar;
-import org.apache.openejb.jee.oejb3.OpenejbJar;
 import org.apache.openejb.loader.SystemInstance;
 import org.apache.openejb.persistence.JtaEntityManagerRegistry;
 import org.apache.openejb.ri.sp.PseudoSecurityService;
@@ -63,7 +49,6 @@ import org.osgi.framework.Bundle;
 import org.osgi.framework.BundleActivator;
 import org.osgi.framework.BundleContext;
 import org.osgi.framework.BundleEvent;
-import org.osgi.framework.ServiceRegistration;
 import org.osgi.util.tracker.BundleTrackerCustomizer;
 
 public class EJBExtender implements BundleActivator, BundleTrackerCustomizer {



Mime
View raw message