Package org.jboss.weld.security
Class NewInstanceAction<T>
- java.lang.Object
-
- org.jboss.weld.security.AbstractGenericReflectionAction<T>
-
- org.jboss.weld.security.NewInstanceAction<T>
-
- All Implemented Interfaces:
PrivilegedExceptionAction<T>
public class NewInstanceAction<T> extends AbstractGenericReflectionAction<T> implements PrivilegedExceptionAction<T>
-
-
Field Summary
-
Fields inherited from class org.jboss.weld.security.AbstractGenericReflectionAction
javaClass
-
-
Constructor Summary
Constructors Constructor Description NewInstanceAction(Constructor<T> constructor, Object... params)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> NewInstanceAction<T>of(Constructor<T> constructor, Object... params)Trun()
-
-
-
Constructor Detail
-
NewInstanceAction
public NewInstanceAction(Constructor<T> constructor, Object... params)
-
-
Method Detail
-
of
public static <T> NewInstanceAction<T> of(Constructor<T> constructor, Object... params)
-
run
public T run() throws InvocationTargetException, InstantiationException, IllegalAccessException
- Specified by:
runin interfacePrivilegedExceptionAction<T>- Throws:
InvocationTargetExceptionInstantiationExceptionIllegalAccessException
-
-