Class OpenApiDeployer
- java.lang.Object
-
- fish.payara.microprofile.connector.MicroProfileDeployer<OpenApiContainer,OpenApiApplicationContainer>
-
- fish.payara.microprofile.openapi.activation.OpenApiDeployer
-
- All Implemented Interfaces:
Deployer<OpenApiContainer,OpenApiApplicationContainer>
@Service @PerLookup public class OpenApiDeployer extends MicroProfileDeployer<OpenApiContainer,OpenApiApplicationContainer>
-
-
Constructor Summary
Constructors Constructor Description OpenApiDeployer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenApiApplicationContainerload(OpenApiContainer 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(OpenApiApplicationContainer 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 OpenApiApplicationContainer load(OpenApiContainer 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(OpenApiApplicationContainer 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
-
-