org.apache.karaf.jpm
Interface Process

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ProcessImpl

public interface Process
extends java.io.Serializable

Interface representing a process


Method Summary
 void destroy()
          Destroy the process.
 int getPid()
          Retrieves the PID of the process
 boolean isRunning()
          Check if this process is still running
 

Method Detail

getPid

int getPid()
Retrieves the PID of the process

Returns:
the pid

isRunning

boolean isRunning()
                  throws java.io.IOException
Check if this process is still running

Returns:
true if the process is running
Throws:
java.io.IOException - if an error occurs

destroy

void destroy()
             throws java.io.IOException
Destroy the process.

Throws:
java.io.IOException


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.