All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.eNetwork.HOD.trace.RASTrace

java.lang.Object
   |
   +----com.ibm.eNetwork.beans.HOD.HODBean
           |
           +----com.ibm.eNetwork.HOD.trace.RASTrace

public class RASTrace
extends HODBean
implements TraceListener, ECLTraceListener, RASTraceIntf
This class implements a windowed interface which allows users to visually set component trace levels, capture trace data, and save it. This class implements both the Beans TraceListener interface and the HACL ECLTraceListener interface, so it can be used with either set of trace APIs to display trace information.

By default RASTrace is not visible--the user must call setVisible(true) to display RASTrace.


Variable Index

 o ENABLED
enabled property keyword
 o VISIBLE
visible property keyword

Constructor Index

 o RASTrace()
Create a RASTrace object with default properties.
 o RASTrace(Properties)
Create a RASTrace object with new properties.

Method Index

 o defaults()
Static method to access the trace default properties.
 o getTraceListener()
Method to return the TraceListener.
 o getTraceName()
Returns a trace identifier for this bean.
 o isEnabled()
Method to return whether trace is enabled.
 o isVisible()
Method to return visibility of trace GUI.
 o openLocalMessageConsole()
Method to handle trace events from a HACL component.
 o setEnabled(boolean)
Method to enable or disable trace.
 o setVisible(boolean)
Method to show or hide the trace GUI.
 o traceEvent(TraceEvent)
Method to handle trace events from a Bean.
 o TraceNotifyEvent(ECLTraceEvent)
Method to handle trace events from a HACL component.

Variables

 o VISIBLE
 public static final String VISIBLE
visible property keyword

 o ENABLED
 public static final String ENABLED
enabled property keyword

Constructors

 o RASTrace
 public RASTrace()
Create a RASTrace object with default properties. This constructor can be used to create the trace facility for Beans applets and applications.

 o RASTrace
 public RASTrace(Properties p) throws PropertyVetoException
Create a RASTrace object with new properties. This constructor can be used to create the trace facility for Beans applets and applications.

Parameters:
p - Properties for RASTrace.

Methods

 o setVisible
 public void setVisible(boolean show) throws PropertyVetoException
Method to show or hide the trace GUI. The trace GUI is initially invisible.

Parameters:
show - True to show, false to hide.
 o isVisible
 public boolean isVisible()
Method to return visibility of trace GUI.

 o getTraceListener
 public TraceListener getTraceListener()
Method to return the TraceListener.

 o setEnabled
 public void setEnabled(boolean enable) throws PropertyVetoException
Method to enable or disable trace. Tracing is initially disabled.

Parameters:
enable - True to enable trace; false to disable.
 o isEnabled
 public boolean isEnabled()
Method to return whether trace is enabled.

 o traceEvent
 public void traceEvent(TraceEvent e)
Method to handle trace events from a Bean.

Parameters:
e - TraceEvent.
 o TraceNotifyEvent
 public void TraceNotifyEvent(ECLTraceEvent e)
Method to handle trace events from a HACL component.

Parameters:
e - ECLTraceEvent.
 o openLocalMessageConsole
 public void openLocalMessageConsole()
Method to handle trace events from a HACL component.

 o getTraceName
 public String getTraceName()
Returns a trace identifier for this bean.

Overrides:
getTraceName in class HODBean
 o defaults
 public static Properties defaults()
Static method to access the trace default properties.


All Packages  Class Hierarchy  This Package  Previous  Next  Index