org.hibernate.validator.util
Class NewInstance<T>

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

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

Author:
Emmanuel Bernard

Method Summary
static
<T> NewInstance<T>
action(java.lang.Class<T> clazz, java.lang.String message)
           
 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> NewInstance<T> action(java.lang.Class<T> clazz,
                                        java.lang.String message)

run

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


Copyright © 2007-2010. All Rights Reserved.