KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > logging > NullRuntimeLogger


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
3  * notice. All rights reserved.
4  */

5 package com.tc.object.logging;
6
7 import com.tc.object.TCObject;
8 import com.tc.object.tx.WaitInvocation;
9
10 public class NullRuntimeLogger implements RuntimeLogger {
11
12   public NullRuntimeLogger() {
13     super();
14   }
15
16   public boolean lockDebug() {
17     return false;
18   }
19
20   public boolean fieldChangeDebug() {
21     return false;
22   }
23
24   public void lockAcquired(String JavaDoc lockName, int level, Object JavaDoc instance, TCObject tcobj) {
25     return;
26   }
27
28   public void fieldChanged(TCObject source, String JavaDoc classname, String JavaDoc fieldname, Object JavaDoc newValue, int index) {
29     return;
30   }
31
32   public boolean newManagedObjectDebug() {
33     return false;
34   }
35
36   public void newManagedObject(TCObject object) {
37     return;
38   }
39
40   public boolean waitNotifyDebug() {
41     return false;
42   }
43
44   public void objectNotify(boolean all, Object JavaDoc obj, TCObject tcObject) {
45     return;
46   }
47
48   public void objectWait(WaitInvocation call, Object JavaDoc obj, TCObject tcObject) {
49     return;
50   }
51
52   public boolean distributedMethodDebug() {
53     return false;
54   }
55
56   public void distributedMethodCall(String JavaDoc receiverName, String JavaDoc methodName, String JavaDoc params) {
57     return;
58   }
59
60   public void distributedMethodCallError(String JavaDoc receiverClassName, String JavaDoc methodName, String JavaDoc params, Throwable JavaDoc error) {
61     return;
62   }
63
64   public boolean arrayChangeDebug() {
65     return false;
66   }
67
68   public void arrayChanged(TCObject source, int startPos, Object JavaDoc array) {
69     return;
70   }
71
72   public void literalValueChanged(TCObject source, Object JavaDoc newValue) {
73     return;
74   }
75
76   public boolean nonPortableDump() {
77     return false;
78   }
79
80 }
81
Popular Tags