Interface BootstrapPackagesBuilder
-
public interface BootstrapPackagesBuilder
This 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 BootstrapPackagesBuilder
add(String classNameOrPrefix)
MarkclassNameOrPrefix
as one that belongs to the bootstrap classloader.BootstrapPackagesBuilder
addAll(Collection<String> classNamesOrPrefixes)
Mark all elements ofclassNamesOrPrefixes
as ones that belongs to the bootstrap classloader.
-
-
-
Method Detail
-
add
BootstrapPackagesBuilder add(String classNameOrPrefix)
MarkclassNameOrPrefix
as one that belongs to the bootstrap classloader.- Returns:
this
-
addAll
BootstrapPackagesBuilder addAll(Collection<String> classNamesOrPrefixes)
Mark all elements ofclassNamesOrPrefixes
as ones that belongs to the bootstrap classloader.- Returns:
this
-
-