@Deprecated
public final class ServiceUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isServiceThread(java.lang.Thread thread)
Deprecated.
Determine whether the given thread is a service thread.
|
static boolean |
isServiceThread(java.lang.Thread thread,
ServiceContainer container)
Deprecated.
Determine whether the given thread is a service thread which is associated with the given container.
|
static void |
undeployAll(java.lang.Runnable completeTask,
java.util.List<ServiceController<?>> controllers)
Deprecated.
Undeploy all the controllers and call the given runnable task when complete.
|
static void |
undeployAll(java.lang.Runnable completeTask,
ServiceController<?>... controllers)
Deprecated.
Undeploy all the controllers and call the given runnable task when complete.
|
public static void undeployAll(java.lang.Runnable completeTask,
ServiceController<?>... controllers)
completeTask - the complete taskcontrollers - the controllers to undeploypublic static void undeployAll(java.lang.Runnable completeTask,
java.util.List<ServiceController<?>> controllers)
completeTask - the complete taskcontrollers - the controllers to undeploypublic static boolean isServiceThread(java.lang.Thread thread)
thread - the thread to testtrue if it is a service thread, false otherwisepublic static boolean isServiceThread(java.lang.Thread thread,
ServiceContainer container)
thread - the thread to testcontainer - the container to compare totrue if it is a service thread, false otherwiseCopyright © 2012 JBoss, a division of Red Hat, Inc.