commit | 17f757cb30eca6304bcd1ab53e560218d6837fb5 | [log] [tgz] |
---|---|---|
author | Matthew Jason Benson <mbenson@apache.org> | Thu Sep 23 02:22:41 2010 +0000 |
committer | Matthew Jason Benson <mbenson@apache.org> | Thu Sep 23 02:22:41 2010 +0000 |
tree | d475d6296aebda4009ab01d19d00ef8aaee432f7 | |
parent | 6b38e2c72442bcab8e48964528f289fc3d7f0926 [diff] |
add static INSTANCE git-svn-id: https://svn.apache.org/repos/asf/commons/proper/proxy/branches/version-2.0-work@1000294 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/stub/src/main/java/org/apache/commons/proxy2/stub/AnnotationFactory.java b/stub/src/main/java/org/apache/commons/proxy2/stub/AnnotationFactory.java index b4a6029..ae6dc37 100644 --- a/stub/src/main/java/org/apache/commons/proxy2/stub/AnnotationFactory.java +++ b/stub/src/main/java/org/apache/commons/proxy2/stub/AnnotationFactory.java
@@ -44,6 +44,9 @@ * @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 {