Class ServerProcess


  • public class ServerProcess
    extends Object
    Class used to represent the java process of wso2 server.
    • Constructor Detail

      • ServerProcess

        public ServerProcess()
    • Method Detail

      • getProcessId

        public static String getProcessId()
        Getter method for processId.
        Returns:
        String processId
      • setProcessId

        public static void setProcessId​(String path)
        Setter method for processId.
        Parameters:
        path - wso2carbon.pid file path
      • getNodeId

        public static String getNodeId()
      • writePID

        public static void writePID​(String runtimePath)
        Write the process ID of this process to the file.
        Parameters:
        runtimePath - wso2.runtime.path sys property value.