public abstract class MicroProfileApplicationContainer extends Object implements ApplicationContainer<Object>
| Modifier and Type | Field and Description |
|---|---|
protected ClassLoader |
appClassLoader |
protected String |
appName |
protected DeploymentContext |
ctx |
| Constructor and Description |
|---|
MicroProfileApplicationContainer(DeploymentContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader()
Returns the class loader associated with this application
|
Object |
getDescriptor()
Returns the deployment descriptor associated with this application
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeprotected final DeploymentContext ctx
protected final ClassLoader appClassLoader
protected final String appName
public MicroProfileApplicationContainer(DeploymentContext ctx)
public ClassLoader getClassLoader()
ApplicationContainergetClassLoader in interface ApplicationContainer<Object>public Object getDescriptor()
ApplicationContainergetDescriptor in interface ApplicationContainer<Object>public boolean start(ApplicationContext ctx) throws Exception
ApplicationContainerstart in interface ApplicationContainer<Object>ctx - the start up contextException - if this application container could not be startedpublic boolean stop(ApplicationContext ctx)
ApplicationContainerstop in interface ApplicationContainer<Object>public boolean resume()
throws Exception
ApplicationContainerresume in interface ApplicationContainer<Object>Exception - if this application container could not be
resumedpublic boolean suspend()
ApplicationContainersuspend in interface ApplicationContainer<Object>Copyright © 2021. All rights reserved.