org.apache.derby.iapi.services.diag
Class DiagnosticableGeneric

java.lang.Object
  extended by org.apache.derby.iapi.services.diag.DiagnosticableGeneric
All Implemented Interfaces:
Diagnosticable
Direct Known Subclasses:
D_BaseContainerHandle, D_BTreeController, D_ContainerKey, D_ContainerLock, D_FlushedScan, D_HeapController, D_LogToFile, D_RecordId, D_RowLock, D_Xact

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 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
Returns:
A string with diagnostic information about the object.
Throws:
StandardException - Standard exception policy.

diag_detail

public void diag_detail(java.util.Properties prop)
                 throws 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
Throws:
StandardException - Standard exception policy.

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.