Class ConfigApplicationContainer
- java.lang.Object
-
- fish.payara.microprofile.connector.MicroProfileApplicationContainer
-
- fish.payara.microprofile.config.activation.ConfigApplicationContainer
-
- All Implemented Interfaces:
ApplicationContainer<Object>
public class ConfigApplicationContainer extends MicroProfileApplicationContainer
-
-
Field Summary
-
Fields inherited from class fish.payara.microprofile.connector.MicroProfileApplicationContainer
appClassLoader, appName, ctx
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedConfigApplicationContainer(DeploymentContext deploymentContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanstart(ApplicationContext ctx)Starts an application container.-
Methods inherited from class fish.payara.microprofile.connector.MicroProfileApplicationContainer
getClassLoader, getDescriptor, resume, stop, suspend
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.glassfish.api.deployment.ApplicationContainer
initialize, reload
-
-
-
-
Constructor Detail
-
ConfigApplicationContainer
protected ConfigApplicationContainer(DeploymentContext deploymentContext)
-
-
Method Detail
-
start
public boolean start(ApplicationContext ctx) throws Exception
Description copied from interface:ApplicationContainerStarts an application container. ContractProvider starting should not throw an exception but rather should use their prefered Logger instance to log any issue they encounter while starting. Returning false from a start mean that the container failed to start- Specified by:
startin interfaceApplicationContainer<Object>- Overrides:
startin classMicroProfileApplicationContainer- Parameters:
ctx- the start up context- Returns:
- true if the container startup was successful.
- Throws:
Exception- if this application container could not be started
-
-