Class CompositeClassScanner
- java.lang.Object
-
- com.intergral.deep.agent.tracepoint.inst.CompositeClassScanner
-
- All Implemented Interfaces:
IClassScanner
public class CompositeClassScanner extends Object implements IClassScanner
A collection of scanners to run to collect classes to modify.
-
-
Constructor Summary
Constructors Constructor Description CompositeClassScanner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addScanner(IClassScanner classScanner)
boolean
isComplete()
Is this class scanner complete.Class<?>[]
scanAll(Instrumentation inst)
Scan the loaded classes for classes we should modify.boolean
scanClass(Class<?> clazz)
Scan this class.
-
-
-
Method Detail
-
addScanner
public void addScanner(IClassScanner classScanner)
-
scanClass
public boolean scanClass(Class<?> clazz)
Description copied from interface:IClassScanner
Scan this class.- Specified by:
scanClass
in interfaceIClassScanner
- Parameters:
clazz
- the class to sacn- Returns:
true
if we should include this class
-
scanAll
public Class<?>[] scanAll(Instrumentation inst)
Scan the loaded classes for classes we should modify.- Parameters:
inst
- the instrumentation- Returns:
- an array of classes to modify
-
isComplete
public boolean isComplete()
Description copied from interface:IClassScanner
Is this class scanner complete.- Specified by:
isComplete
in interfaceIClassScanner
- Returns:
true
if this scanner has nothing more to find
-
-