commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcar...@apache.org
Subject svn commit: r278590 - /jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/util/AbstractProxyFactory.java
Date Sun, 04 Sep 2005 13:11:42 GMT
Author: jcarman
Date: Sun Sep  4 06:11:39 2005
New Revision: 278590

URL: http://svn.apache.org/viewcvs?rev=278590&view=rev
Log:
Added support for "invocation handler proxies."

Modified:
    jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/util/AbstractProxyFactory.java

Modified: jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/util/AbstractProxyFactory.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/util/AbstractProxyFactory.java?rev=278590&r1=278589&r2=278590&view=diff
==============================================================================
--- jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/util/AbstractProxyFactory.java
(original)
+++ jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/util/AbstractProxyFactory.java
Sun Sep  4 06:11:39 2005
@@ -60,21 +60,4 @@
     {
         return createInvocationHandlerProxy( Thread.currentThread().getContextClassLoader(),
invocationHandler, proxyInterfaces );
     }
-
-
-    private static class InvocationHandlerMethodInterceptor implements MethodInterceptor
-    {
-        private final InvocationHandler invocationHandler;
-
-        public InvocationHandlerMethodInterceptor( InvocationHandler invocationHandler )
-        {
-            this.invocationHandler = invocationHandler;
-        }
-
-        public Object invoke( MethodInvocation methodInvocation ) throws Throwable
-        {
-            return invocationHandler.invoke( methodInvocation.getThis(), methodInvocation.getMethod(),
methodInvocation.getArguments() );
-        }
-    }
-
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message