|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IncidentStream
Ffdc incidents may capture data elements to be reported. These are printed on the incident stream provided by the ffdc provider.
Formatter
,
Formattable
,
DataCollector
Nested Class Summary | |
---|---|
static interface |
IncidentStream.Writer<T extends java.io.OutputStream>
Custom formatters or formattable implementations can use this interface to access the output stream used by the incident stream. |
Method Summary | |
---|---|
void |
write(IncidentStream.Writer<java.io.OutputStream> writer)
Write on this stream the content provided by the writer |
void |
write(java.lang.String label,
java.lang.Object object)
Write an object with a label on the incident stream. |
void |
write(java.lang.String label,
java.lang.Object value,
int depth)
Write an object with a label on the incident stream. |
Method Detail |
---|
void write(java.lang.String label, java.lang.Object object)
If the object is a Class or a Logger instance the name of it will be printed.
If a formatter is registered for the object type, or the object is formattable see in the SDD the rules how the value is printed.
In all other cases the object is introspected.
Note that if an object has already been written, all subsequent writing result i printing the label followed by the classname and hash code.
label
- object
- void write(java.lang.String label, java.lang.Object value, int depth)
label
- value
- depth
- write(String label, Object object)
void write(IncidentStream.Writer<java.io.OutputStream> writer)
writer
- Parameters:
writer
-
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |