org.hibernate.validator.util.privilegedactions
Class GetAnnotationParameter<T>

java.lang.Object
  extended by org.hibernate.validator.util.privilegedactions.GetAnnotationParameter<T>
All Implemented Interfaces:
java.security.PrivilegedAction<T>

public final class GetAnnotationParameter<T>
extends java.lang.Object
implements java.security.PrivilegedAction<T>

Author:
Emmanuel Bernard, Hardy Ferentschik

Method Summary
static
<T> GetAnnotationParameter<T>
action(java.lang.annotation.Annotation annotation, java.lang.String parameterName, java.lang.Class<T> type)
           
 T run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

action

public static <T> GetAnnotationParameter<T> action(java.lang.annotation.Annotation annotation,
                                                   java.lang.String parameterName,
                                                   java.lang.Class<T> type)

run

public T run()
Specified by:
run in interface java.security.PrivilegedAction<T>


Copyright © 2011 Oracle Corporation. All Rights Reserved.