public class ClassNoticingFactory extends java.lang.Object implements ClassMatchVisitorFactory
NO_OP_FACTORY| Constructor and Description |
|---|
ClassNoticingFactory(JarAnalystFactory jarAnalystFactory,
java.util.concurrent.ExecutorService executorService,
com.newrelic.api.agent.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
addURL(java.net.URL url)
Adds a url which represents a jar or a directory.
|
org.objectweb.asm.ClassVisitor |
newClassMatchVisitor(java.lang.ClassLoader loader,
java.lang.Class<?> classBeingRedefined,
org.objectweb.asm.ClassReader reader,
org.objectweb.asm.ClassVisitor cv,
InstrumentationContext context)
Returns a chaining class visitor that applies matching logic to the class referenced by the class reader and
classBeingRedefined.
|
public ClassNoticingFactory(JarAnalystFactory jarAnalystFactory, java.util.concurrent.ExecutorService executorService, com.newrelic.api.agent.Logger logger)
public org.objectweb.asm.ClassVisitor newClassMatchVisitor(java.lang.ClassLoader loader,
java.lang.Class<?> classBeingRedefined,
org.objectweb.asm.ClassReader reader,
org.objectweb.asm.ClassVisitor cv,
InstrumentationContext context)
ClassMatchVisitorFactoryInstrumentationContext.newClassMatchVisitor in interface ClassMatchVisitorFactorypublic void addURL(java.net.URL url)