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.
-
ENABLED
- enabled property keyword
-
VISIBLE
- visible property keyword
-
RASTrace()
- Create a RASTrace object with default properties.
-
RASTrace(Properties)
- Create a RASTrace object with new properties.
-
defaults()
- Static method to access the trace default properties.
-
getTraceListener()
- Method to return the TraceListener.
-
getTraceName()
- Returns a trace identifier for this bean.
-
isEnabled()
- Method to return whether trace is enabled.
-
isVisible()
- Method to return visibility of trace GUI.
-
openLocalMessageConsole()
- Method to handle trace events from a HACL component.
-
setEnabled(boolean)
- Method to enable or disable trace.
-
setVisible(boolean)
- Method to show or hide the trace GUI.
-
traceEvent(TraceEvent)
- Method to handle trace events from a Bean.
-
TraceNotifyEvent(ECLTraceEvent)
- Method to handle trace events from a HACL component.
VISIBLE
public static final String VISIBLE
- visible property keyword
ENABLED
public static final String ENABLED
- enabled property keyword
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.
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.
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.
isVisible
public boolean isVisible()
- Method to return visibility of trace GUI.
getTraceListener
public TraceListener getTraceListener()
- Method to return the TraceListener.
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.
isEnabled
public boolean isEnabled()
- Method to return whether trace is enabled.
traceEvent
public void traceEvent(TraceEvent e)
- Method to handle trace events from a Bean.
- Parameters:
- e - TraceEvent.
TraceNotifyEvent
public void TraceNotifyEvent(ECLTraceEvent e)
- Method to handle trace events from a HACL component.
- Parameters:
- e - ECLTraceEvent.
openLocalMessageConsole
public void openLocalMessageConsole()
- Method to handle trace events from a HACL component.
getTraceName
public String getTraceName()
- Returns a trace identifier for this bean.
- Overrides:
- getTraceName in class HODBean
defaults
public static Properties defaults()
- Static method to access the trace default properties.
All Packages Class Hierarchy This Package Previous Next Index