public <T> T getDiscoveryComponentProxy(ResourceType type, ResourceDiscoveryComponent component, long timeout,
Class<T> componentInterface, ResourceContainer parentResourceContainer) throws PluginContainerException,
BlacklistedException {
if (isResourceTypeBlacklisted(type)) {
throw new BlacklistedException("Discovery component for resource type [" + type + "] has been blacklisted");
}
try {
ClassLoader pluginClassLoader = pluginComponentFactory.getDiscoveryComponentClassLoader(