|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InstrumentationLogger
Logging interface for the DSO class loading/adaption system
| Method Summary | |
|---|---|
void |
autolockInserted(java.lang.String className,
java.lang.String methodName,
java.lang.String methodDesc,
LockDefinition lockDef)
Log that auto lock was inserted |
void |
classIncluded(java.lang.String className)
Log class that is being instrumented |
void |
distMethodCallInserted(java.lang.String className,
java.lang.String methodName,
java.lang.String desc)
Log that a DMI call was inserted. |
boolean |
getClassInclusion()
Determine whether to log when a class is included for instrumentation (checked before calls to classIncluded(String)). |
boolean |
getDistMethodCallInsertion()
Determine whether to log when a DMI call is inserted (checked before calls to distMethodCallInserted(String, String, String)). |
boolean |
getLockInsertion()
Determine whether to log when a lock is inserted (checked before calls to autolockInserted(String, String, String, LockDefinition) or
lockInserted(String, String, String, LockDefinition[])). |
boolean |
getRootInsertion()
Determine whether to log when a root is inserted (checked before calls to rootInserted(String, String, String, boolean)). |
boolean |
getTransientRootWarning()
Determine whether to log transient root warnings (checked before calls to {@link #transientRootWarning(String, String)). |
void |
lockInserted(java.lang.String className,
java.lang.String methodName,
java.lang.String methodDesc,
LockDefinition[] locks)
Log that lock was inserted |
void |
rootInserted(java.lang.String className,
java.lang.String fieldName,
java.lang.String desc,
boolean isStatic)
Log that a root was inserted |
void |
setClassInclusion(boolean classInclusion)
|
void |
setDistMethodCallInsertion(boolean distMethodClassInsertion)
|
void |
setLockInsertion(boolean lockInsertion)
|
void |
setRootInsertion(boolean rootInsertion)
|
void |
setTransientRootWarning(boolean transientRootWarning)
|
void |
subclassOfLogicallyManagedClasses(java.lang.String className,
java.util.Collection logicalSuperClasses)
Log that a subclass of a logically managed class cannot be instrumented |
void |
transientRootWarning(java.lang.String className,
java.lang.String fieldName)
Log that the transient property is being ignored for a root |
| Method Detail |
|---|
boolean getClassInclusion()
classIncluded(String)).
void setClassInclusion(boolean classInclusion)
boolean getLockInsertion()
autolockInserted(String, String, String, LockDefinition) or
lockInserted(String, String, String, LockDefinition[])).
void setLockInsertion(boolean lockInsertion)
boolean getRootInsertion()
rootInserted(String, String, String, boolean)).
void setRootInsertion(boolean rootInsertion)
boolean getDistMethodCallInsertion()
distMethodCallInserted(String, String, String)).
void setDistMethodCallInsertion(boolean distMethodClassInsertion)
boolean getTransientRootWarning()
void setTransientRootWarning(boolean transientRootWarning)
void classIncluded(java.lang.String className)
className - Class name
void autolockInserted(java.lang.String className,
java.lang.String methodName,
java.lang.String methodDesc,
LockDefinition lockDef)
className - The class namemethodName - The method namemethodDesc - Method descriptorlockDef - The lock definition
void lockInserted(java.lang.String className,
java.lang.String methodName,
java.lang.String methodDesc,
LockDefinition[] locks)
className - The class namemethodName - The method namemethodDesc - Method descriptorlocks - The lock definitions
void subclassOfLogicallyManagedClasses(java.lang.String className,
java.util.Collection logicalSuperClasses)
className - The classlogicalSuperClasses - All logical super classes that prevent className from being instrumented
void transientRootWarning(java.lang.String className,
java.lang.String fieldName)
className - Class namefieldName - Transient field name
void rootInserted(java.lang.String className,
java.lang.String fieldName,
java.lang.String desc,
boolean isStatic)
className - The class namefieldName - The root fielddesc - Method descriptorisStatic - True if static root
void distMethodCallInserted(java.lang.String className,
java.lang.String methodName,
java.lang.String desc)
className - The class namemethodName - The method namedesc - The method descriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||