|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.common.ConsoleDiagnosticImpl
public class ConsoleDiagnosticImpl
The superclass for classes that display diagnostics in a console.
This class is instantiated in DiagonsticFactory#createDiagnostic()
.
Constructor Summary | |
---|---|
ConsoleDiagnosticImpl()
Creates an instance. |
Method Summary | |
---|---|
void |
addContextData(java.lang.String actionName,
java.util.HashMap<java.lang.String,java.lang.String> contextData)
This method will be used in between "begin" and "end" call for adding extra context data |
void |
begin(java.lang.String actionName,
java.util.HashMap<java.lang.String,java.lang.String> contextData)
|
boolean |
checkJEE()
Returns true if executed in a JEE Container. |
void |
end(java.lang.String actionName)
|
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)
We dont' want to print empty string like "", "\r\n", or "\n". |
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 |
Constructor Detail |
---|
public ConsoleDiagnosticImpl()
Method Detail |
---|
public boolean checkJEE()
public void print(java.lang.String message)
print
in interface IDiagnostic
message
- the message to be printed.public void println(java.lang.String message)
println
in interface IDiagnostic
message
- the message to be printed.public void initialized(java.lang.String reason)
IDiagnostic2
initialized
in interface IDiagnostic2
reason
- describes the reason for initialization.public void begin(java.lang.String actionName, java.util.HashMap<java.lang.String,java.lang.String> contextData)
begin
in interface IDiagnostic
public void addContextData(java.lang.String actionName, java.util.HashMap<java.lang.String,java.lang.String> contextData)
IDiagnostic
addContextData
in interface IDiagnostic
public void end(java.lang.String actionName)
end
in interface IDiagnostic
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.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |