Interface BootstrapPackagesBuilder
-
public interface BootstrapPackagesBuilderThis interface exposes a way to define which packages/classes are present in the bootstrap classloader.This interface should not be implemented by the javaagent extension developer - the javaagent will provide the implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BootstrapPackagesBuilderadd(String classNameOrPrefix)MarkclassNameOrPrefixas one that belongs to the bootstrap classloader.BootstrapPackagesBuilderaddAll(Collection<String> classNamesOrPrefixes)Mark all elements ofclassNamesOrPrefixesas ones that belongs to the bootstrap classloader.
-
-
-
Method Detail
-
add
BootstrapPackagesBuilder add(String classNameOrPrefix)
MarkclassNameOrPrefixas one that belongs to the bootstrap classloader.- Returns:
this
-
addAll
BootstrapPackagesBuilder addAll(Collection<String> classNamesOrPrefixes)
Mark all elements ofclassNamesOrPrefixesas ones that belongs to the bootstrap classloader.- Returns:
this
-
-