|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.bea.domingo.service.NotesJavaWriter
public final class NotesJavaWriter
Creates Java source code of all Notes Java-API calls.
Field Summary | |
---|---|
static java.lang.String |
JAVA_LOGFILE
Name of property of java log file. |
Method Summary | |
---|---|
static NotesJavaWriter |
getInstance()
Returns the singleton instance of this class. |
(package private) static java.lang.String |
getType(java.lang.Object obj)
Returns the type of an object as to be used e.g. in a cast operator. |
void |
logInvocation(java.lang.Object result,
java.lang.Object object,
java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Throwable throwable)
Logs an invocation to Java-like line. |
void |
logInvocation(java.lang.Object result,
java.lang.Object object,
java.lang.String method,
java.lang.Object[] args,
java.lang.Throwable throwable)
Logs a method invocation as Java code. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String JAVA_LOGFILE
Method Detail |
---|
public static NotesJavaWriter getInstance()
public void logInvocation(java.lang.Object result, java.lang.Object object, java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Throwable throwable)
result
- the return value of the method callobject
- the proxy instance that the method was invoked onmethod
- the Method
instance corresponding to
the interface method invoked on the proxy instance. The declaring
class of the Method
object will be the interface that
the method was declared in, which may be a super-interface of the
proxy interface that the proxy class inherits the method through.args
- an array of objects containing the values of thethrowable
- an optional throwable that occurred during method call
arguments passed in the method invocation on the proxy instance,
or null
if interface method takes no arguments.
Arguments of primitive types are wrapped in instances of the
appropriate primitive wrapper class, such as
java.lang.Integer
or java.lang.Boolean
.
public void logInvocation(java.lang.Object result, java.lang.Object object, java.lang.String method, java.lang.Object[] args, java.lang.Throwable throwable)
result
- the return value of the method callobject
- the proxy instance that the method was invoked onmethod
- the name of the method.args
- an array of objects containing the values of the
arguments passed in the method invocation on the proxy instance,
or null
throwable
- an optional throwable that occurred during method call
if interface method takes no arguments.
Arguments of primitive types are wrapped in instances of the
appropriate primitive wrapper class, such as
java.lang.Integer
or java.lang.Boolean
.
static java.lang.String getType(java.lang.Object obj)
obj
- the object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |