
public final class AddShutdownHookAction extends Object implements PrivilegedAction<Void>
| Constructor and Description |
|---|
AddShutdownHookAction(Thread hook)
Construct a new instance.
|
public AddShutdownHookAction(Thread hook)
hook - the shutdown hook to addpublic Void run()
run in interface PrivilegedAction<Void>Copyright © 2020 JBoss by Red Hat. All rights reserved.