TPTP 4.0.0 Monitoring Tools Project
Public API Specification

org.eclipse.hyades.logging.adapter
Interface IContextListener


public interface IContextListener


Method Summary
 java.lang.String[] getTargetContextUniqueIds()
          The contexts which this listener is intended to be informed of events from.
 void postProcessEventItems(IComponent component, java.lang.Object[] results)
          Invoked after a sub-component is given a task to process some data.
 void preProcessEventItems(IComponent component, java.lang.Object[] msgs)
          Invoked before a sub-component is given a task to process some data.
 

Method Detail

preProcessEventItems

public void preProcessEventItems(IComponent component,
                                 java.lang.Object[] msgs)
Invoked before a sub-component is given a task to process some data.

Parameters:
component - - the component being invoked
msgs - - the data that is being given to the component to process

postProcessEventItems

public void postProcessEventItems(IComponent component,
                                  java.lang.Object[] results)
Invoked after a sub-component is given a task to process some data.

Parameters:
component - - the component being invoked
results - - the results that are being returned as a result of the component processing

getTargetContextUniqueIds

public java.lang.String[] getTargetContextUniqueIds()
The contexts which this listener is intended to be informed of events from. A controller has one or more contexts which zero or more may be listened to.

Returns:
String[] - array of unique Id's of the target contexts

TPTP 4.0.0 Monitoring Tools Project
Public API Specification