com.phoenix_int.aserver
Interface IPHXMonitorable

All Known Implementing Classes:
PHXRunShare, PHXRunShareContext

public interface IPHXMonitorable

this is the interface that analyses which provide information about running processes should implement


Method Summary
 java.lang.Object getMonitor(java.lang.String m)
          Gets a specified monitor.
 java.lang.String[] listMonitorableFiles()
          Lists all items that may be monitored for output as a component is running.
 PHXProcessInfo[] listProcesses()
          Lists all the running processes associated with a component
 

Method Detail

listProcesses

PHXProcessInfo[] listProcesses()
                               throws java.io.IOException
Lists all the running processes associated with a component

Throws:
java.io.IOException - If there was a problem reading information about running processes

listMonitorableFiles

java.lang.String[] listMonitorableFiles()
                                        throws java.io.IOException
Lists all items that may be monitored for output as a component is running. Note that this is normally IN ADDITION to any PHXRawFile output variables that your component exposes. Because of this, these names must not conflict with any variable names.

Throws:
java.io.IOException

getMonitor

java.lang.Object getMonitor(java.lang.String m)
                            throws PHXNoSuchObjectException
Gets a specified monitor. This method can return PHXRawFile objects to publish files for monitoring that don't appear as a regular variable, or PHXMonitorableStream objects to publish random streams of monitor data.

Returns:
either a PHXRawFile or a PHXMonitorableStream object
Throws:
PHXNoSuchObjectException