Top Description Constructors Methods
org.hibernate.annotations.common.annotationfactory

public Class AnnotationFactory

extends Object
Class Inheritance
Imports
java.lang.annotation.Annotation, java.lang.reflect.Constructor, .InvocationHandler, .InvocationTargetException, .Proxy

Creates live annotations (actually AnnotationProxies) from AnnotationDescriptors.
Authors
Paolo Perrotta, Davide Marchignoli
See Also
AnnotationProxy

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static <T extends Annotation> T
private static <T extends Annotation> T
getProxyInstance(Class<T> proxyClass, InvocationHandler handler)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AnnotationFactoryback to summary
public AnnotationFactory()

Method Detail

createback to summary
public static <T extends Annotation> T create(AnnotationDescriptor descriptor)
Annotations
@SuppressWarnings:unchecked
getProxyInstanceback to summary
private static <T extends Annotation> T getProxyInstance(Class<T> proxyClass, InvocationHandler handler) throws SecurityException, NoSuchMethodException, IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException