Package org.eclipse.steady.java.monitor
Class AbstractInstrumentor
- java.lang.Object
-
- org.eclipse.steady.java.monitor.AbstractInstrumentor
-
- All Implemented Interfaces:
IInstrumentor
- Direct Known Subclasses:
AbstractTraceInstrumentor,PrintlnInstrumentor,SliceInstrumentor,TouchPointInstrumentor
public abstract class AbstractInstrumentor extends Object implements IInstrumentor
Abstract AbstractInstrumentor class.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.steady.shared.util.VulasConfigurationvulasConfiguration
-
Constructor Summary
Constructors Constructor Description AbstractInstrumentor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinjectStacktrace(StringBuffer _buffer, JavaId _jid, javassist.CtBehavior _behavior)Adds Java code to obtain the stacktrace.protected voidinjectUrlAndLoader(StringBuffer _buffer, JavaId _jid, javassist.CtBehavior _behavior)Adds Java code to determine the URL of the resource from which the given class was loaded, and the class loader which loaded it.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.steady.java.monitor.IInstrumentor
acceptToInstrument, awaitUpload, getStatistics, instrument, upladInformation
-
-
-
-
Method Detail
-
injectUrlAndLoader
protected void injectUrlAndLoader(StringBuffer _buffer, JavaId _jid, javassist.CtBehavior _behavior)
Adds Java code to determine the URL of the resource from which the given class was loaded, and the class loader which loaded it. This information is available in the Java variables vul_cls_res and vul_cls_ldr.- Parameters:
_buffer- aStringBufferobject._jid- aJavaIdobject._behavior- aCtBehaviorobject.
-
injectStacktrace
protected void injectStacktrace(StringBuffer _buffer, JavaId _jid, javassist.CtBehavior _behavior)
Adds Java code to obtain the stacktrace. This information is available in the Java variable vul_st.- Parameters:
_buffer- aStringBufferobject._jid- aJavaIdobject._behavior- aCtBehaviorobject.
-
-