Class CreateThreadAction

java.lang.Object
org.wildfly.security.manager.action.CreateThreadAction
All Implemented Interfaces:
PrivilegedAction<Thread>

public final class CreateThreadAction extends Object implements PrivilegedAction<Thread>
A security action to create a thread.
Author:
David M. Lloyd
  • Constructor Details

    • CreateThreadAction

      public CreateThreadAction(String name)
      Construct a new instance.
      Parameters:
      name - the name of the thread (may not be null)
    • CreateThreadAction

      public CreateThreadAction(ThreadGroup group, String name)
      Construct a new instance.
      Parameters:
      group - the thread group to use
      name - the name of the thread (may not be null)
    • CreateThreadAction

      public CreateThreadAction(Runnable target, String name)
      Construct a new instance.
      Parameters:
      target - the runnable target
      name - the name of the thread (may not be null)
    • CreateThreadAction

      public CreateThreadAction(ThreadGroup group, Runnable target, String name)
      Construct a new instance.
      Parameters:
      group - the thread group to use
      target - the runnable target
      name - the name of the thread (may not be null)
    • CreateThreadAction

      public CreateThreadAction(ThreadGroup group, Runnable target, String name, long stackSize)
      Construct a new instance.
      Parameters:
      group - the thread group to use
      target - the runnable target
      name - the name of the thread (may not be null)
      stackSize - the stack size to use
  • Method Details