public class IgnoreClassHelper extends Object
In looking for classes to enhance we can skip some such as JDK, JDBC and other known libraries.
The agentArgs can optionally include a "packages" parameter with a comma delimited list of packages that SHOULD be processed. All other packages would then be ignored.
| Constructor and Description |
|---|
IgnoreClassHelper(Collection<String> packages) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIgnoreClass(String className)
Try to exclude JDK classes and known JDBC Drivers and Libraries.
|
public IgnoreClassHelper(Collection<String> packages)
public boolean isIgnoreClass(String className)
We want to do this for performance reasons - that is skip checking for enhancement on classes that we know are not part of the application code and should not be enhanced.
className - the className of the class being defined.Copyright © 2016. All rights reserved.