KickJava   Java API By Example, From Geeks To Geeks.

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


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

4 package com.tc.object.logging;
5
6 import com.tc.object.config.LockDefinition;
7
8 import java.util.Collection JavaDoc;
9
10 /**
11  * Logging interface for the DSO class loading/adaption system
12  */

13 public interface InstrumentationLogger {
14
15   ///////////////////////////////
16
// logging options
17
///////////////////////////////
18

19   boolean classInclusion();
20
21   boolean lockInsertion();
22
23   boolean rootInsertion();
24
25   boolean distMethodCallInsertion();
26
27   boolean transientRootWarning();
28
29   ///////////////////////////////
30
// log methods
31
///////////////////////////////
32

33   void classIncluded(String JavaDoc className);
34
35   void autolockInserted(String JavaDoc className, String JavaDoc methodName, String JavaDoc methodDesc, LockDefinition lockDef);
36
37   void lockInserted(String JavaDoc className, String JavaDoc methodName, String JavaDoc methodDesc, LockDefinition[] locks);
38
39   void subclassOfLogicallyManagedClasses(String JavaDoc className, Collection JavaDoc logicalSuperClasses);
40
41   void transientRootWarning(String JavaDoc className, String JavaDoc fieldName);
42
43   void rootInserted(String JavaDoc className, String JavaDoc fieldName, String JavaDoc desc, boolean isStatic);
44
45   void distMethodCallInserted(String JavaDoc className, String JavaDoc methodName, String JavaDoc desc);
46 }
47
Popular Tags