Class ProcessController

java.lang.Object
org.jboss.jca.sjc.ProcessController

public class ProcessController extends Object
The process controller for IronJacamar instances
Author:
Jesper Pedersen
  • Method Details

    • getInstance

      public static ProcessController getInstance()
      Get instance
      Returns:
      The value
    • setJava

      public static void setJava(String v)
      Set the java path
      Parameters:
      v - The java path
    • start

      public boolean start(String home)
      Start an instance
      Parameters:
      home - The home directory
      Returns:
      True if started successfully; otherwise false
    • start

      public boolean start(String home, File options)
      Start an instance
      Parameters:
      home - The home directory
      options - The options
      Returns:
      True if started successfully; otherwise false
    • stop

      public int stop(String home)
      Stop an instance
      Parameters:
      home - The home directory
      Returns:
      The exit code