public static class MBeanUtils.PackageImportHolder extends Object implements MBeanUtils.ImportHolder
Constructor and Description |
---|
PackageImportHolder() |
PackageImportHolder(Collection<String> imports) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getRegisteredImports() |
void |
registerImport(String i)
Registers a package in which to search for classes.
|
Class<?> |
resolve(String clazzName,
boolean initialize,
ClassLoader loader) |
void |
validate(ClassLoader loader) |
public PackageImportHolder()
public PackageImportHolder(Collection<String> imports)
public void registerImport(String i)
registerImport
in interface MBeanUtils.ImportHolder
public Class<?> resolve(String clazzName, boolean initialize, ClassLoader loader)
resolve
in interface MBeanUtils.ImportHolder
public void validate(ClassLoader loader) throws MBeanUtils.ImportValidationException
validate
in interface MBeanUtils.ImportHolder
MBeanUtils.ImportValidationException