public class GracefulShutdownService extends Object implements org.jboss.msc.service.Service<GracefulShutdownService>
Modifier and Type | Field and Description |
---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
Constructor and Description |
---|
GracefulShutdownService() |
Modifier and Type | Method and Description |
---|---|
void |
awaitSuspend() |
org.jboss.msc.value.InjectedValue<SuspendController> |
getSuspendControllerInjectedValue() |
GracefulShutdownService |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
startGracefulShutdown() |
void |
stop(org.jboss.msc.service.StopContext context) |
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<GracefulShutdownService>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<GracefulShutdownService>
public void startGracefulShutdown()
public void awaitSuspend()
public org.jboss.msc.value.InjectedValue<SuspendController> getSuspendControllerInjectedValue()
public GracefulShutdownService getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<GracefulShutdownService>
IllegalStateException
IllegalArgumentException
Copyright © 2023 JBoss by Red Hat. All rights reserved.