org.fusesource.process.manager
Interface ProcessController

All Known Implementing Classes:
DefaultProcessController

public interface ProcessController

Controls a process


Method Summary
 int configure()
           
 java.lang.Integer getPid()
           
 int install()
           
 int kill()
           
 int restart()
           
 int start()
           
 int status()
           
 int stop()
           
 int uninstall()
           
 

Method Detail

install

int install()
            throws java.lang.InterruptedException,
                   java.io.IOException,
                   CommandFailedException
Throws:
java.lang.InterruptedException
java.io.IOException
CommandFailedException

uninstall

int uninstall()

start

int start()
          throws java.lang.Exception
Throws:
java.lang.Exception

stop

int stop()
         throws java.lang.Exception
Throws:
java.lang.Exception

kill

int kill()
         throws java.lang.Exception
Throws:
java.lang.Exception

restart

int restart()
            throws java.lang.Exception
Throws:
java.lang.Exception

status

int status()
           throws java.lang.Exception
Throws:
java.lang.Exception

configure

int configure()
              throws java.lang.Exception
Throws:
java.lang.Exception

getPid

java.lang.Integer getPid()
                         throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2013 Red Hat. All Rights Reserved.