Class CreateThreadAction
java.lang.Object
org.wildfly.security.manager.action.CreateThreadAction
- All Implemented Interfaces:
PrivilegedAction<Thread>
A security action to create a thread.
- Author:
- David M. Lloyd
-
Constructor Summary
ConstructorsConstructorDescriptionCreateThreadAction(Runnable target, String name) Construct a new instance.CreateThreadAction(String name) Construct a new instance.CreateThreadAction(ThreadGroup group, Runnable target, String name) Construct a new instance.CreateThreadAction(ThreadGroup group, Runnable target, String name, long stackSize) Construct a new instance.CreateThreadAction(ThreadGroup group, String name) Construct a new instance. -
Method Summary
-
Constructor Details
-
CreateThreadAction
Construct a new instance.- Parameters:
name- the name of the thread (may not benull)
-
CreateThreadAction
Construct a new instance.- Parameters:
group- the thread group to usename- the name of the thread (may not benull)
-
CreateThreadAction
Construct a new instance.- Parameters:
target- the runnable targetname- the name of the thread (may not benull)
-
CreateThreadAction
Construct a new instance.- Parameters:
group- the thread group to usetarget- the runnable targetname- the name of the thread (may not benull)
-
CreateThreadAction
Construct a new instance.- Parameters:
group- the thread group to usetarget- the runnable targetname- the name of the thread (may not benull)stackSize- the stack size to use
-
-
Method Details
-
run
- Specified by:
runin interfacePrivilegedAction<Thread>
-