[jboss-cvs] JBossAS SVN: r101229 - projects/ejb3/components/nointerface/trunk/impl/src/main/java/org/jboss/ejb3/nointerface/impl/view/factory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Feb 22 01:15:48 EST 2010


Author: jaikiran
Date: 2010-02-22 01:15:48 -0500 (Mon, 22 Feb 2010)
New Revision: 101229

Modified:
   projects/ejb3/components/nointerface/trunk/impl/src/main/java/org/jboss/ejb3/nointerface/impl/view/factory/JavassistNoInterfaceViewFactory.java
Log:
EJBTHREE-2023 Removing unused private class

Modified: projects/ejb3/components/nointerface/trunk/impl/src/main/java/org/jboss/ejb3/nointerface/impl/view/factory/JavassistNoInterfaceViewFactory.java
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/src/main/java/org/jboss/ejb3/nointerface/impl/view/factory/JavassistNoInterfaceViewFactory.java	2010-02-22 06:09:11 UTC (rev 101228)
+++ projects/ejb3/components/nointerface/trunk/impl/src/main/java/org/jboss/ejb3/nointerface/impl/view/factory/JavassistNoInterfaceViewFactory.java	2010-02-22 06:15:48 UTC (rev 101229)
@@ -24,7 +24,6 @@
 import java.lang.reflect.InvocationHandler;
 
 import javassist.util.proxy.ProxyFactory;
-import javassist.util.proxy.ProxyFactory.ClassLoaderProvider;
 
 import org.jboss.ejb3.nointerface.impl.view.JavassistInvocationHandlerAdapter;
 import org.jboss.ejb3.nointerface.impl.view.NoInterfaceViewMethodFilter;
@@ -84,31 +83,4 @@
 
    }
 
-   /**
-    * {@link NoInterfaceViewProxyFactoryClassLoaderProvider} is responsible for returning
-    * the correct classloader for nointerface view proxy creation through
-    * the javassist {@link ProxyFactory}
-    *
-    * @author Jaikiran Pai
-    * @version $Revision: $
-    */
-   private class NoInterfaceViewProxyFactoryClassLoaderProvider implements ClassLoaderProvider
-   {
-
-      /**
-       * Returns the {@link ClassLoader} for creating the nointerface view proxy.
-       * <p>
-       *   Internally, returns the {@link ClassLoader} which loaded {@link ProxyFactory#getSuperclass()},
-       *   since the nointerface view is created by setting the bean class as the
-       *   "super class" through {@link ProxyFactory#setSuperclass(Class)}
-       * </p> 
-       * @see javassist.util.proxy.ProxyFactory.ClassLoaderProvider#get(javassist.util.proxy.ProxyFactory)
-       */
-      @Override
-      public ClassLoader get(ProxyFactory pf)
-      {
-         return pf.getSuperclass().getClassLoader();
-      }
-
-   }
 }




More information about the jboss-cvs-commits mailing list