Class FaultToleranceDeployer
- java.lang.Object
-
- fish.payara.microprofile.connector.MicroProfileDeployer<FaultToleranceContainer,FaultToleranceApplicationContainer>
-
- fish.payara.microprofile.faulttolerance.activation.FaultToleranceDeployer
-
- All Implemented Interfaces:
Deployer<FaultToleranceContainer,FaultToleranceApplicationContainer>
@Service @PerLookup public class FaultToleranceDeployer extends MicroProfileDeployer<FaultToleranceContainer,FaultToleranceApplicationContainer>
-
-
Constructor Summary
Constructors Constructor Description FaultToleranceDeployer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FaultToleranceApplicationContainerload(FaultToleranceContainer 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.voidunload(FaultToleranceApplicationContainer 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 FaultToleranceApplicationContainer load(FaultToleranceContainer container, DeploymentContext deploymentContext)
Description copied from interface:DeployerLoads 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(FaultToleranceApplicationContainer applicationContainer, DeploymentContext ctx)
Description copied from interface:DeployerUnload 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
-
-