Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.iapi.services.diag
Class DiagnosticableGeneric  view DiagnosticableGeneric download DiagnosticableGeneric.java

java.lang.Object
  extended byorg.apache.derby.iapi.services.diag.DiagnosticableGeneric
All Implemented Interfaces:
Diagnosticable

public class DiagnosticableGeneric
extends java.lang.Object
implements Diagnosticable

The Diagnosticable class implements the Diagnostics protocol, and can be used as the parent class for all other Diagnosticable objects.


Field Summary
protected  java.lang.Object diag_object
           
 
Constructor Summary
DiagnosticableGeneric()
           
 
Method Summary
 void diag_detail(java.util.Properties prop)
          Default implementation of detail diagnostic on the object.
 java.lang.String diag()
          Default implementation of diagnostic on the object.
 void init(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

diag_object

protected java.lang.Object diag_object
Constructor Detail

DiagnosticableGeneric

public DiagnosticableGeneric()
Method Detail

init

public void init(java.lang.Object obj)
Specified by:
init in interface Diagnosticable

diag

public java.lang.String diag()
                      throws org.apache.derby.iapi.error.StandardException
Default implementation of diagnostic on the object.

This routine returns a string with whatever diagnostic information you would like to provide about this object.

This routine should be overriden by a real implementation of the diagnostic information you would like to provide.

Specified by:
diag in interface Diagnosticable

diag_detail

public void diag_detail(java.util.Properties prop)
                 throws org.apache.derby.iapi.error.StandardException
Default implementation of detail diagnostic on the object.

This routine should be overriden if there is detail diagnostics to be provided by a real implementation.

Specified by:
diag_detail in interface Diagnosticable