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