appl.parallel.starter
Interface Starter

All Superinterfaces:
Remote
All Known Implementing Classes:
XuluServerStarter

public interface Starter
extends Remote

An interface for programs which start themself other programs as separate processes. It is possible to start/stop and restart the encapsulated process.

Author:
Dominik Appl

Method Summary
 boolean isRunning()
           
 void restart()
          restarts the process
 void start()
          Starts the process
 void stop()
          stops the process
 

Method Detail

start

void start()
           throws RemoteException
Starts the process

Throws:
RemoteException

stop

void stop()
          throws RemoteException
stops the process

Throws:
RemoteException

restart

void restart()
             throws RemoteException
restarts the process

Throws:
RemoteException

isRunning

boolean isRunning()
                  throws RemoteException
Returns:
true, if the process is running
Throws:
RemoteException