Class ConstructorInstance<T>
- java.lang.Object
-
- org.hibernate.validator.internal.util.privilegedactions.ConstructorInstance<T>
-
- All Implemented Interfaces:
PrivilegedAction<T>
public final class ConstructorInstance<T> extends Object implements PrivilegedAction<T>
Execute instance creation as privileged action.- Author:
- Emmanuel Bernard, Hardy Ferentschik
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> ConstructorInstance<T>action(Constructor<T> constructor, Object... initArgs)Trun()
-
-
-
Method Detail
-
action
public static <T> ConstructorInstance<T> action(Constructor<T> constructor, Object... initArgs)
-
run
public T run()
- Specified by:
runin interfacePrivilegedAction<T>
-
-