You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2010/09/23 04:22:41 UTC
svn commit: r1000294 -
/commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/AnnotationFactory.java
Author: mbenson
Date: Thu Sep 23 02:22:41 2010
New Revision: 1000294
URL: http://svn.apache.org/viewvc?rev=1000294&view=rev
Log:
add static INSTANCE
Modified:
commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/AnnotationFactory.java
Modified: commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/AnnotationFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/AnnotationFactory.java?rev=1000294&r1=1000293&r2=1000294&view=diff
==============================================================================
--- commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/AnnotationFactory.java (original)
+++ commons/proper/proxy/branches/version-2.0-work/stub/src/main/java/org/apache/commons/proxy2/stub/AnnotationFactory.java Thu Sep 23 02:22:41 2010
@@ -44,6 +44,9 @@ import org.apache.commons.proxy2.impl.Ab
* @author Matt Benson
*/
public class AnnotationFactory {
+ /** Statically available instance */
+ public static final AnnotationFactory INSTANCE = new AnnotationFactory();
+
//underlying proxyfactory implementation based on org.apache.commons.proxy2.jdk.JdkProxyFactory
private static class InterceptorInvocationHandler implements InvocationHandler, Serializable {