Uses of Interface
org.wildfly.plugin.tools.server.ServerManager
Packages that use ServerManager
-
Uses of ServerManager in org.wildfly.plugin.server
Fields in org.wildfly.plugin.server declared as ServerManager -
Uses of ServerManager in org.wildfly.plugin.tools.server
Classes in org.wildfly.plugin.tools.server that implement ServerManagerModifier and TypeClassDescriptionclassA utility for executing management operations on domain servers.classA utility for managing a standalone server.Methods in org.wildfly.plugin.tools.server that return ServerManagerModifier and TypeMethodDescriptionServerManager.addServerManagerListener(ServerManagerListener listener) Adds aServerManagerListenerto be notified of server manager events.default ServerManagerServerManager.asManaged()Returns an instance of this server manager which does not allow the shutting down the server.ServerManager.deploy(Deployment deployment) Deploys content to the server.static ServerManagerServerManager.of(Configuration<?> configuration) Creates a new server manager based on configuration.default ServerManagerServerManager.start()Starts a server and waits for 60 seconds for the server to start.Starts a server and waits for it to reach a running state.ServerManager.undeploy(DeploymentDescription deployment) Undeploys content from the server.Methods in org.wildfly.plugin.tools.server that return types with arguments of type ServerManagerModifier and TypeMethodDescriptionServerManager.Builder.build()Creates either aDomainManagerorStandaloneManagerbased on theServerManager.launchType(ModelControllerClient).default CompletableFuture<ServerManager> ServerManager.kill()default CompletableFuture<ServerManager> ServerManager.shutdownAsync()Shuts down the server without a graceful shutdown timeout.default CompletableFuture<ServerManager> ServerManager.shutdownAsync(long timeout) Shuts down the server.default CompletionStage<ServerManager> ServerManager.startAsync()Asynchronously starts a server and waits for 60 seconds for the server to start.ServerManager.startAsync(long timeout, TimeUnit unit) Asynchronously starts a server and waits the amount of time defined by the timeout and the time unit.Methods in org.wildfly.plugin.tools.server with parameters of type ServerManagerModifier and TypeMethodDescriptiondefault voidServerManagerListener.afterDeploy(ServerManager serverManager, Deployment deployment) Invoked after the deployment is done via theServerManager.deploy(org.wildfly.plugin.tools.Deployment)method.default voidServerManagerListener.afterStart(ServerManager serverManager) Invoked after a server has successfully started.default voidServerManagerListener.afterUndeploy(ServerManager serverManager, DeploymentDescription deployment) Invoked after the undeploy is done via theServerManager.undeploy(DeploymentDescription)method.default voidServerManagerListener.beforeDeploy(ServerManager serverManager, Deployment deployment) Invoked before the deployment is done via theServerManager.deploy(Deployment)method.default voidServerManagerListener.beforeShutdown(ServerManager serverManager) Invoked before the server is shutdown, assuming the server is running.default voidServerManagerListener.beforeUndeploy(ServerManager serverManager, DeploymentDescription deployment) Invoked before the undeploy is done via theServerManager.undeploy(DeploymentDescription)method.default voidServerManagerListener.deployFailed(ServerManager serverManager, Deployment deployment, Throwable throwable) Invoked if the deployment operation fails.default voidServerManagerListener.undeployFailed(ServerManager serverManager, DeploymentDescription deployment, Throwable throwable) Invoked if the undeployment operation fails.