public class HealthApplicationContainer extends MicroProfileApplicationContainer
appClassLoader, appName, ctx
Modifier | Constructor and Description |
---|---|
protected |
HealthApplicationContainer(HealthCheckService healthService,
DeploymentContext ctx) |
Modifier and Type | Method and Description |
---|---|
boolean |
resume()
Resumes this application container.
|
boolean |
start(ApplicationContext ctx)
Starts an application container.
|
boolean |
stop(ApplicationContext ctx)
Stop the application container
|
boolean |
suspend()
Suspends this application container.
|
getClassLoader, getDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize
protected HealthApplicationContainer(HealthCheckService healthService, DeploymentContext ctx)
public boolean start(ApplicationContext ctx) throws Exception
ApplicationContainer
start
in interface ApplicationContainer<Object>
start
in class MicroProfileApplicationContainer
ctx
- the start up contextException
- if this application container could not be startedpublic boolean stop(ApplicationContext ctx)
ApplicationContainer
stop
in interface ApplicationContainer<Object>
stop
in class MicroProfileApplicationContainer
public boolean resume() throws Exception
ApplicationContainer
resume
in interface ApplicationContainer<Object>
resume
in class MicroProfileApplicationContainer
Exception
- if this application container could not be
resumedpublic boolean suspend()
ApplicationContainer
suspend
in interface ApplicationContainer<Object>
suspend
in class MicroProfileApplicationContainer
Copyright © 2021. All rights reserved.