Class HealthDeployer
- java.lang.Object
-
- fish.payara.microprofile.connector.MicroProfileDeployer<HealthContainer,HealthApplicationContainer>
-
- fish.payara.microprofile.healthcheck.activation.HealthDeployer
-
- All Implemented Interfaces:
Deployer<HealthContainer,HealthApplicationContainer>
@Service @PerLookup public class HealthDeployer extends MicroProfileDeployer<HealthContainer,HealthApplicationContainer>
-
-
Constructor Summary
Constructors Constructor Description HealthDeployer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthApplicationContainer
load(HealthContainer container, DeploymentContext deploymentContext)
Loads a previously prepared application in its execution environment and return a ContractProvider instance that will identify this environment in future communications with the application's container runtime.void
unload(HealthApplicationContainer applicationContainer, DeploymentContext ctx)
Unload or stop a previously running application identified with the ContractProvider instance.-
Methods inherited from class fish.payara.microprofile.connector.MicroProfileDeployer
clean, getMetaData, loadMetaData, prepare
-
-
-
-
Method Detail
-
load
public HealthApplicationContainer load(HealthContainer container, DeploymentContext deploymentContext)
Description copied from interface:Deployer
Loads a previously prepared application in its execution environment and return a ContractProvider instance that will identify this environment in future communications with the application's container runtime.- Parameters:
container
- in which the application will residedeploymentContext
- of the deployment- Returns:
- an ApplicationContainer instance identifying the running application
-
unload
public void unload(HealthApplicationContainer applicationContainer, DeploymentContext ctx)
Description copied from interface:Deployer
Unload or stop a previously running application identified with the ContractProvider instance. The container will be stop upon return from this method.- Parameters:
applicationContainer
- instance to be stoppedctx
- of the undeployment
-
-