|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.common.FileDiagnosticImpl
public class FileDiagnosticImpl
A Diagnostic implementation that routes output to a file.
The factory implementation allows the shortcut "file" for this implementation. It creates a unique file in the (system dependent) TEMP location, and writes all diagnostic output to it.
This class may be used with JDeveloper 9.0.2, in which case the special
shortname isn't available: to use this class you should set
* jbo.debugoutput
to the value oracle.jbo.common.FileDiagnosticImpl
This class is instantiated in DiagonsticFactory#createDiagnostic()
.
Field Summary | |
---|---|
static java.lang.String |
LOGFILE_PREFIX
|
static java.lang.String |
LOGFILE_SUFFIX
|
Constructor Summary | |
---|---|
FileDiagnosticImpl()
Creates an instance. |
Method Summary | |
---|---|
void |
initialized(java.lang.String reason)
Called to signal initialization of Diagnostic. |
void |
print(java.lang.String message)
Displays a message in the console. |
void |
println(java.lang.String message)
Prints a trace message and terminates the line. |
java.lang.String |
toString()
Produces a textual description of this diagnostic service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String LOGFILE_PREFIX
public static final java.lang.String LOGFILE_SUFFIX
Constructor Detail |
---|
public FileDiagnosticImpl()
Method Detail |
---|
public void print(java.lang.String message)
print
in interface IDiagnostic
message
- the message to be printed.public void println(java.lang.String message)
IDiagnostic
println
in interface IDiagnostic
message
- the text to be printed.public void initialized(java.lang.String reason)
IDiagnostic2
initialized
in interface IDiagnostic2
reason
- describes the reason for initialization.public java.lang.String toString()
toString
in interface IDiagnostic
toString
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |