Author: mbenson Date: Fri Jul 23 15:51:15 2010 New Revision: 967141 URL: http://svn.apache.org/viewvc?rev=967141&view=rev Log: revert instances of the string proxy2 to proxy that were erroneously converted along with the package name
Modified: commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/ObjectProvider.java commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/ProxyFactory.java commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/ProxyUtils.java commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/exception/ProxyFactoryException.java commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractProxyClassGenerator.java commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractProxyFactory.java commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractSubclassingProxyFactory.java commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/ProxyClassCache.java commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/remoting/JaxRpcProvider.java Modified: commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/ObjectProvider.java URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/ObjectProvider.java?rev=967141&r1=967140&r2=967141&view=diff ============================================================================== --- commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/ObjectProvider.java (original) +++ commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/ObjectProvider.java Fri Jul 23 15:51:15 2010 @@ -18,7 +18,7 @@ package org.apache.commons.proxy2; /** - * Provides an object to a delegating proxy2. + * Provides an object to a delegating proxy. * * @author James Carman * @since 1.0 Modified: commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/ProxyFactory.java URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/ProxyFactory.java?rev=967141&r1=967140&r2=967141&view=diff ============================================================================== --- commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/ProxyFactory.java (original) +++ commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/ProxyFactory.java Fri Jul 23 15:51:15 2010 @@ -28,7 +28,7 @@ public interface ProxyFactory //********************************************************************************************************************** /** - * Learn whether this {...@link ProxyFactory} is capable of creating a proxy2 for the specified set of classes. + * Learn whether this {...@link ProxyFactory} is capable of creating a proxy for the specified set of classes. * * @param proxyClasses the proxy2 classes * @return boolean @@ -36,70 +36,70 @@ public interface ProxyFactory public boolean canProxy( Class<?>... proxyClasses ); /** - * Creates a proxy2 which delegates to the object provided by <code>delegateProvider</code>. The proxy2 will be + * Creates a proxy which delegates to the object provided by <code>delegateProvider</code>. The proxy will be * generated using the current thread's "context class loader." * * @param delegateProvider the delegate provider - * @param proxyClasses the interfaces that the proxy2 should implement - * @return a proxy2 which delegates to the object provided by the target object provider + * @param proxyClasses the interfaces that the proxy should implement + * @return a proxy which delegates to the object provided by the target object provider */ public <T> T createDelegatorProxy( ObjectProvider<?> delegateProvider, Class<?>... proxyClasses ); /** - * Creates a proxy2 which delegates to the object provided by <code>delegateProvider</code>. + * Creates a proxy which delegates to the object provided by <code>delegateProvider</code>. * - * @param classLoader the class loader to use when generating the proxy2 + * @param classLoader the class loader to use when generating the proxy * @param delegateProvider the delegate provider - * @param proxyClasses the interfaces that the proxy2 should implement - * @return a proxy2 which delegates to the object provided by the target <code>delegateProvider> + * @param proxyClasses the interfaces that the proxy should implement + * @return a proxy which delegates to the object provided by the target <code>delegateProvider> */ public <T> T createDelegatorProxy( ClassLoader classLoader, ObjectProvider<?> delegateProvider, Class<?>... proxyClasses ); /** - * Creates a proxy2 which passes through a {...@link Interceptor interceptor} before eventually reaching the - * <code>target</code> object. The proxy2 will be generated using the current thread's "context class loader." + * Creates a proxy which passes through a {...@link Interceptor interceptor} before eventually reaching the + * <code>target</code> object. The proxy will be generated using the current thread's "context class loader." * * @param target the target object * @param interceptor the method interceptor - * @param proxyClasses the interfaces that the proxy2 should implement - * @return a proxy2 which passes through a {...@link Interceptor interceptor} before eventually reaching the + * @param proxyClasses the interfaces that the proxy should implement + * @return a proxy which passes through a {...@link Interceptor interceptor} before eventually reaching the * <code>target</code> object. */ public <T> T createInterceptorProxy( Object target, Interceptor interceptor, Class<?>... proxyClasses ); /** - * Creates a proxy2 which passes through a {...@link Interceptor interceptor} before eventually reaching the + * Creates a proxy which passes through a {...@link Interceptor interceptor} before eventually reaching the * <code>target</code> object. * - * @param classLoader the class loader to use when generating the proxy2 + * @param classLoader the class loader to use when generating the proxy * @param target the target object * @param interceptor the method interceptor - * @param proxyClasses the interfaces that the proxy2 should implement. - * @return a proxy2 which passes through a {...@link Interceptor interceptor} before eventually reaching the + * @param proxyClasses the interfaces that the proxy should implement. + * @return a proxy which passes through a {...@link Interceptor interceptor} before eventually reaching the * <code>target</code> object. */ public <T> T createInterceptorProxy( ClassLoader classLoader, Object target, Interceptor interceptor, Class<?>... proxyClasses ); /** - * Creates a proxy2 which uses the provided {...@link Invoker} to handle all method invocations. The proxy2 will be + * Creates a proxy which uses the provided {...@link Invoker} to handle all method invocations. The proxy will be * generated using the current thread's "context class loader." * * @param invoker the invoker - * @param proxyClasses the interfaces that the proxy2 should implement - * @return a proxy2 which uses the provided {...@link Invoker} to handle all method invocations + * @param proxyClasses the interfaces that the proxy should implement + * @return a proxy which uses the provided {...@link Invoker} to handle all method invocations */ public <T> T createInvokerProxy( Invoker invoker, Class<?>... proxyClasses ); /** - * Creates a proxy2 which uses the provided {...@link Invoker} to handle all method invocations. + * Creates a proxy which uses the provided {...@link Invoker} to handle all method invocations. * - * @param classLoader the class loader to use when generating the proxy2 + * @param classLoader the class loader to use when generating the proxy * @param invoker the invoker - * @param proxyClasses the interfaces that the proxy2 should implement - * @return a proxy2 which uses the provided {...@link Invoker} to handle all method invocations + * @param proxyClasses the interfaces that the proxy should implement + * @return a proxy which uses the provided {...@link Invoker} to handle all method invocations */ public <T> T createInvokerProxy( ClassLoader classLoader, Invoker invoker, Class<?>... proxyClasses ); Modified: commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/ProxyUtils.java URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/ProxyUtils.java?rev=967141&r1=967140&r2=967141&view=diff ============================================================================== --- commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/ProxyUtils.java (original) +++ commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/ProxyUtils.java Fri Jul 23 15:51:15 2010 @@ -26,7 +26,7 @@ import java.util.List; import java.util.Map; /** - * Provides some helpful proxy2 utility methods. + * Provides some helpful proxy utility methods. * * @author James Carman * @since 1.0 @@ -73,8 +73,8 @@ public class ProxyUtils /** * Creates a "null object" which implements the <code>proxyClasses</code>. * - * @param proxyFactory the proxy2 factory to be used to create the proxy2 object - * @param proxyClasses the proxy2 interfaces + * @param proxyFactory the proxy factory to be used to create the proxy object + * @param proxyClasses the proxy interfaces * @return a "null object" which implements the <code>proxyClasses</code>. */ public static Object createNullObject(ProxyFactory proxyFactory, Class<?>[] proxyClasses) @@ -85,9 +85,9 @@ public class ProxyUtils /** * Creates a "null object" which implements the <code>proxyClasses</code>. * - * @param proxyFactory the proxy2 factory to be used to create the proxy2 object - * @param classLoader the class loader to be used by the proxy2 factory to create the proxy2 object - * @param proxyClasses the proxy2 interfaces + * @param proxyFactory the proxy factory to be used to create the proxy object + * @param classLoader the class loader to be used by the proxy factory to create the proxy object + * @param proxyClasses the proxy interfaces * @return a "null object" which implements the <code>proxyClasses</code>. */ public static Object createNullObject(ProxyFactory proxyFactory, ClassLoader classLoader, Class<?>[] proxyClasses) Modified: commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/exception/ProxyFactoryException.java URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/exception/ProxyFactoryException.java?rev=967141&r1=967140&r2=967141&view=diff ============================================================================== --- commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/exception/ProxyFactoryException.java (original) +++ commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/exception/ProxyFactoryException.java Fri Jul 23 15:51:15 2010 @@ -18,7 +18,7 @@ package org.apache.commons.proxy2.exception; /** - * A runtime exception type to be used by {...@link org.apache.commons.proxy2.ProxyFactory proxy2 factories} when a problem + * A runtime exception type to be used by {...@link org.apache.commons.proxy2.ProxyFactory proxy factories} when a problem * occurs. * * @author James Carman Modified: commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractProxyClassGenerator.java URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractProxyClassGenerator.java?rev=967141&r1=967140&r2=967141&view=diff ============================================================================== --- commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractProxyClassGenerator.java (original) +++ commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractProxyClassGenerator.java Fri Jul 23 15:51:15 2010 @@ -38,12 +38,12 @@ public abstract class AbstractProxyClass //********************************************************************************************************************** /** - * Returns all methods that a proxy2 class must implement from the proxy2 interfaces. This method makes sure there + * Returns all methods that a proxy class must implement from the proxy interfaces. This method makes sure there * are no method signature clashes. For methods with the same signature (name and parameter types), the one * encountered first will be returned in the result. Final methods are also excluded from the result. * - * @param proxyClasses the interfaces the proxy2 class must implement - * @return all methods that the proxy2 class must implement + * @param proxyClasses the interfaces the proxy class must implement + * @return all methods that the proxy class must implement */ public static Method[] getImplementationMethods( Class<?>[] proxyClasses ) { Modified: commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractProxyFactory.java URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractProxyFactory.java?rev=967141&r1=967140&r2=967141&view=diff ============================================================================== --- commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractProxyFactory.java (original) +++ commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractProxyFactory.java Fri Jul 23 15:51:15 2010 @@ -32,7 +32,7 @@ public abstract class AbstractProxyFacto /** * Returns true if all <code>proxyClasses</code> are interfaces. * - * @param proxyClasses the proxy2 classes + * @param proxyClasses the proxy classes * @return true if all <code>proxyClasses</code> are interfaces */ public boolean canProxy( Class<?>... proxyClasses ) @@ -48,12 +48,12 @@ public abstract class AbstractProxyFacto } /** - * Creates a proxy2 which delegates to the object provided by <code>delegateProvider</code>. The proxy2 will be + * Creates a proxy which delegates to the object provided by <code>delegateProvider</code>. The proxy will be * generated using the current thread's "context class loader." * * @param delegateProvider the delegate provider - * @param proxyClasses the interfaces that the proxy2 should implement - * @return a proxy2 which delegates to the object provided by the target object provider + * @param proxyClasses the interfaces that the proxy should implement + * @return a proxy which delegates to the object provided by the target object provider */ public <T> T createDelegatorProxy( ObjectProvider<?> delegateProvider, Class<?>... proxyClasses ) { @@ -63,13 +63,13 @@ public abstract class AbstractProxyFacto } /** - * Creates a proxy2 which passes through a {...@link Interceptor interceptor} before eventually reaching the - * <code>target</code> object. The proxy2 will be generated using the current thread's "context class loader." + * Creates a proxy which passes through a {...@link Interceptor interceptor} before eventually reaching the + * <code>target</code> object. The proxy will be generated using the current thread's "context class loader." * * @param target the target object * @param interceptor the method interceptor - * @param proxyClasses the interfaces that the proxy2 should implement - * @return a proxy2 which passes through a {...@link Interceptor interceptor} before eventually reaching the + * @param proxyClasses the interfaces that the proxy should implement + * @return a proxy which passes through a {...@link Interceptor interceptor} before eventually reaching the * <code>target</code> object. */ public <T> T createInterceptorProxy( Object target, Interceptor interceptor, @@ -82,12 +82,12 @@ public abstract class AbstractProxyFacto } /** - * Creates a proxy2 which uses the provided {...@link Invoker} to handle all method invocations. The proxy2 will be + * Creates a proxy which uses the provided {...@link Invoker} to handle all method invocations. The proxy will be * generated using the current thread's "context class loader." * * @param invoker the invoker - * @param proxyClasses the interfaces that the proxy2 should implement - * @return a proxy2 which uses the provided {...@link Invoker} to handle all method invocations + * @param proxyClasses the interfaces that the proxy should implement + * @return a proxy which uses the provided {...@link Invoker} to handle all method invocations */ public <T> T createInvokerProxy( Invoker invoker, Class<?>... proxyClasses ) { Modified: commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractSubclassingProxyFactory.java URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractSubclassingProxyFactory.java?rev=967141&r1=967140&r2=967141&view=diff ============================================================================== --- commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractSubclassingProxyFactory.java (original) +++ commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractSubclassingProxyFactory.java Fri Jul 23 15:51:15 2010 @@ -21,7 +21,7 @@ public abstract class AbstractSubclassin /** * Returns true if a suitable superclass can be found, given the desired <code>proxyClasses</code>. * - * @param proxyClasses the proxy2 classes + * @param proxyClasses the proxy classes * @return true if a suitable superclass can be found, given the desired <code>proxyClasses</code> */ public boolean canProxy( Class<?>... proxyClasses ) @@ -75,7 +75,7 @@ public abstract class AbstractSubclassin * <b>Note</b>: This class will append {...@link Serializable} to the end of the list if it's * not found! * - * @param proxyClasses the proxy2 classes + * @param proxyClasses the proxy classes * @return the <code>proxyClasses</code> transformed into an array of only the interface classes */ protected static Class<?>[] toInterfaces( Class<?>[] proxyClasses ) @@ -101,7 +101,7 @@ public abstract class AbstractSubclassin * Returns either {...@link Object} if all of the <code>proxyClasses</code> are interfaces or the single non-interface * class from <code>proxyClasses</code>. * - * @param proxyClasses the proxy2 classes + * @param proxyClasses the proxy classes * @return either {...@link Object} if all of the <code>proxyClasses</code> are interfaces or the single non-interface * class from <code>proxyClasses</code> * @throws ProxyFactoryException if multiple non-interface classes are contained in <code>proxyClasses</code> or any Modified: commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/ProxyClassCache.java URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/ProxyClassCache.java?rev=967141&r1=967140&r2=967141&view=diff ============================================================================== --- commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/ProxyClassCache.java (original) +++ commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/ProxyClassCache.java Fri Jul 23 15:51:15 2010 @@ -28,8 +28,8 @@ import java.util.WeakHashMap; /** * A cache for storing implementation classes for proxies based on a specific type of {...@link ProxyClassGenerator}. A - * proxy2 class cache ensures that there is only one class for every - * {...@link ProxyClassGenerator}/{...@link ClassLoader}/proxy2 class array combination. + * proxy class cache ensures that there is only one class for every + * {...@link ProxyClassGenerator}/{...@link ClassLoader}/proxy class array combination. * * @author James Carman * @since 1.0 @@ -79,13 +79,13 @@ public class ProxyClassCache } /** - * Returns the proxy2 class generated by the {...@link ProxyClassGenerator} using the specified {...@link ClassLoader} and - * array of proxy2 classes. + * Returns the proxy class generated by the {...@link ProxyClassGenerator} using the specified {...@link ClassLoader} and + * array of proxy classes. * * @param classLoader the classloader - * @param proxyClasses the proxy2 classes - * @return the proxy2 class generated by the {...@link ProxyClassGenerator} using the specified {...@link ClassLoader} and - * array of proxy2 classes + * @param proxyClasses the proxy classes + * @return the proxy class generated by the {...@link ProxyClassGenerator} using the specified {...@link ClassLoader} and + * array of proxy classes */ public synchronized Class<?> getProxyClass( ClassLoader classLoader, Class<?>[] proxyClasses ) { Modified: commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/remoting/JaxRpcProvider.java URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/remoting/JaxRpcProvider.java?rev=967141&r1=967140&r2=967141&view=diff ============================================================================== --- commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/remoting/JaxRpcProvider.java (original) +++ commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/remoting/JaxRpcProvider.java Fri Jul 23 15:51:15 2010 @@ -28,7 +28,7 @@ import java.net.MalformedURLException; import java.net.URL; /** - * Returns a proxy2 for a JAX-RPC-based service. + * Returns a proxy for a JAX-RPC-based service. * <p/> * <p> * <b>Dependencies</b>: @@ -95,7 +95,7 @@ public class JaxRpcProvider<T> implement } catch( ServiceException e ) { - throw new ObjectProviderException("Unable to create JAX-RPC service proxy2.", e); + throw new ObjectProviderException("Unable to create JAX-RPC service proxy.", e); } catch( MalformedURLException e ) {