com.tc.backport175.proxy
Class ProxyFactory

java.lang.Object
  extended by com.tc.backport175.proxy.ProxyFactory

public class ProxyFactory
extends java.lang.Object

Creates a proxy instance (Java dynamic proxy) for a given reader.

Author:
Jonas Bonér, Alexandre Vasseur

Constructor Summary
ProxyFactory()
           
 
Method Summary
static Annotation newAnnotationProxy(AnnotationElement.Annotation annotation, java.lang.ClassLoader loader)
          Creates a new proxy for the annotation specified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyFactory

public ProxyFactory()
Method Detail

newAnnotationProxy

public static Annotation newAnnotationProxy(AnnotationElement.Annotation annotation,
                                            java.lang.ClassLoader loader)
Creates a new proxy for the annotation specified.

Parameters:
annotation - the annotation data structure abstraction
loader - the class loader for the target class
Returns:
the proxy for the annotation


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.