Class NewProxyInstance<T>
java.lang.Object
org.hibernate.validator.internal.util.privilegedactions.NewProxyInstance<T>
- All Implemented Interfaces:
PrivilegedAction<T>
Execute proxy creation as privileged action.
- Author:
- Guillaume Smet
-
Method Summary
Modifier and TypeMethodDescriptionstatic NewProxyInstance<Object>
action
(ClassLoader classLoader, Class<?>[] interfaces, InvocationHandler invocationHandler) static <T> NewProxyInstance<T>
action
(ClassLoader classLoader, Class<T> interfaze, InvocationHandler invocationHandler) run()
-
Method Details
-
action
public static <T> NewProxyInstance<T> action(ClassLoader classLoader, Class<T> interfaze, InvocationHandler invocationHandler) -
action
public static NewProxyInstance<Object> action(ClassLoader classLoader, Class<?>[] interfaces, InvocationHandler invocationHandler) -
run
- Specified by:
run
in interfacePrivilegedAction<T>
-