|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tc.object.logging.NullInstrumentationLogger
public class NullInstrumentationLogger
Constructor Summary | |
---|---|
NullInstrumentationLogger()
|
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 InstrumentationLogger.classIncluded(String) ). |
boolean |
getDistMethodCallInsertion()
Determine whether to log when a DMI call is inserted (checked before calls to InstrumentationLogger.distMethodCallInserted(String, String, String) ). |
boolean |
getLockInsertion()
Determine whether to log when a lock is inserted (checked before calls to InstrumentationLogger.autolockInserted(String, String, String, LockDefinition) or
InstrumentationLogger.lockInserted(String, String, String, LockDefinition[]) ). |
boolean |
getRootInsertion()
Determine whether to log when a root is inserted (checked before calls to InstrumentationLogger.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullInstrumentationLogger()
Method Detail |
---|
public boolean getClassInclusion()
InstrumentationLogger
InstrumentationLogger.classIncluded(String)
).
getClassInclusion
in interface InstrumentationLogger
public void setClassInclusion(boolean classInclusion)
setClassInclusion
in interface InstrumentationLogger
public boolean getLockInsertion()
InstrumentationLogger
InstrumentationLogger.autolockInserted(String, String, String, LockDefinition)
or
InstrumentationLogger.lockInserted(String, String, String, LockDefinition[])
).
getLockInsertion
in interface InstrumentationLogger
public void setLockInsertion(boolean lockInsertion)
setLockInsertion
in interface InstrumentationLogger
public boolean getRootInsertion()
InstrumentationLogger
InstrumentationLogger.rootInserted(String, String, String, boolean)
).
getRootInsertion
in interface InstrumentationLogger
public void setRootInsertion(boolean rootInsertion)
setRootInsertion
in interface InstrumentationLogger
public boolean getDistMethodCallInsertion()
InstrumentationLogger
InstrumentationLogger.distMethodCallInserted(String, String, String)
).
getDistMethodCallInsertion
in interface InstrumentationLogger
public void setDistMethodCallInsertion(boolean distMethodClassInsertion)
setDistMethodCallInsertion
in interface InstrumentationLogger
public boolean getTransientRootWarning()
InstrumentationLogger
getTransientRootWarning
in interface InstrumentationLogger
public void setTransientRootWarning(boolean transientRootWarning)
setTransientRootWarning
in interface InstrumentationLogger
public void classIncluded(java.lang.String className)
InstrumentationLogger
classIncluded
in interface InstrumentationLogger
className
- Class namepublic void autolockInserted(java.lang.String className, java.lang.String methodName, java.lang.String methodDesc, LockDefinition lockDef)
InstrumentationLogger
autolockInserted
in interface InstrumentationLogger
className
- The class namemethodName
- The method namemethodDesc
- Method descriptorlockDef
- The lock definitionpublic void lockInserted(java.lang.String className, java.lang.String methodName, java.lang.String methodDesc, LockDefinition[] locks)
InstrumentationLogger
lockInserted
in interface InstrumentationLogger
className
- The class namemethodName
- The method namemethodDesc
- Method descriptorlocks
- The lock definitionspublic void subclassOfLogicallyManagedClasses(java.lang.String className, java.util.Collection logicalSuperClasses)
InstrumentationLogger
subclassOfLogicallyManagedClasses
in interface InstrumentationLogger
className
- The classlogicalSuperClasses
- All logical super classes that prevent className from being instrumentedpublic void transientRootWarning(java.lang.String className, java.lang.String fieldName)
InstrumentationLogger
transientRootWarning
in interface InstrumentationLogger
className
- Class namefieldName
- Transient field namepublic void rootInserted(java.lang.String className, java.lang.String fieldName, java.lang.String desc, boolean isStatic)
InstrumentationLogger
rootInserted
in interface InstrumentationLogger
className
- The class namefieldName
- The root fielddesc
- Method descriptorisStatic
- True if static rootpublic void distMethodCallInserted(java.lang.String className, java.lang.String methodName, java.lang.String desc)
InstrumentationLogger
distMethodCallInserted
in interface InstrumentationLogger
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 |