Package fish.payara.nucleus.hotdeploy
Class HotDeployService
- java.lang.Object
-
- fish.payara.nucleus.hotdeploy.HotDeployService
-
@Singleton @Service(name="hotdeploy-service") public class HotDeployService extends Object
The HotDeploy service cache the application deployment state.- Author:
- Gaurav Gupta
-
-
Constructor Summary
Constructors Constructor Description HotDeployService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addApplicationState(ApplicationState applicationState)
Optional<ApplicationState>
getApplicationState(boolean hotdeploy, File path)
Optional<ApplicationState>
getApplicationState(File path)
Optional<ApplicationState>
getApplicationState(ApplicationContext context)
Optional<ApplicationState>
getApplicationState(DeploymentContext context)
boolean
isApplicationStateExist(File path)
ApplicationState
removeApplicationState(File path)
-
-
-
Method Detail
-
isApplicationStateExist
public boolean isApplicationStateExist(File path)
-
getApplicationState
public Optional<ApplicationState> getApplicationState(File path)
-
getApplicationState
public Optional<ApplicationState> getApplicationState(boolean hotdeploy, File path)
-
getApplicationState
public Optional<ApplicationState> getApplicationState(ApplicationContext context)
-
getApplicationState
public Optional<ApplicationState> getApplicationState(DeploymentContext context)
-
removeApplicationState
public ApplicationState removeApplicationState(File path)
-
addApplicationState
public void addApplicationState(ApplicationState applicationState)
-
-