com.ibm.ws.ffdc
Interface FFDCSelfIntrospectable
All known implementing classes:
- public interface FFDCSelfIntrospectable
introspectSelf
method to output the object's current state.
Method Summary
Modifier and Type | Method and Description |
---|---|
|
introspectSelf()
Returns String representation(s) of the object's state.
|
Method Detail
introspectSelf
- java.lang.String[] introspectSelf( )
Returns:
an array of Strings representing the instance variables of this
object that do not contain sensitive data.
Implementation of this method should return a String[]. For example:
public String[] introspectSelf() { StringBuffer introspectBuffer = new StringBuffer(); String[] returnValue = new String[2]; introspectBuffer.append("variableName1 = "); introspectBuffer.append(variableName1); returnValue[0] = new String(introspectBuffer); introspectBuffer.setLength(0); introspectBuffer.append("variableName2 = "); introspectBuffer.append(variableName2); returnValue[1] = new String(introspectBuffer); return returnValue; }