Class ServerManager.JvmServerProcess
java.lang.Object
de.iip_ecosphere.platform.services.spring.ServerManager.JvmServerProcess
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.Server
- Enclosing class:
ServerManager
private static class ServerManager.JvmServerProcess
extends Object
implements de.iip_ecosphere.platform.support.Server
Wraps a spawned JVM process into a
Server instance.- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateJvmServerProcess(File home, SpringCloudArtifactDescriptor art, Server server, String[] args) Creates the JVM server process. -
Method Summary
-
Field Details
-
home
-
art
-
server
-
args
-
process
-
-
Constructor Details
-
JvmServerProcess
private JvmServerProcess(File home, SpringCloudArtifactDescriptor art, Server server, String[] args) Creates the JVM server process.- Parameters:
home- the process homeart- the descriptor of the artifact containing the applicationserver- the information of the server to be started as JVMargs- the command line arguments
-
-
Method Details
-
start
public de.iip_ecosphere.platform.support.Server start()- Specified by:
startin interfacede.iip_ecosphere.platform.support.Server
-
stop
public void stop(boolean dispose) - Specified by:
stopin interfacede.iip_ecosphere.platform.support.Server
-