@Test public void testConnectFrameworkClasses() throws Exception { assertFalse(PluginUtils.shouldLoadInIsolation("org.apache.kafka.common.")); assertFalse(PluginUtils.shouldLoadInIsolation( "org.apache.kafka.common.config.AbstractConfig") ); assertFalse(PluginUtils.shouldLoadInIsolation( "org.apache.kafka.common.config.ConfigDef$Type") ); assertFalse(PluginUtils.shouldLoadInIsolation( "org.apache.kafka.common.serialization.Deserializer") ); assertFalse(PluginUtils.shouldLoadInIsolation("org.apache.kafka.connect.")); assertFalse(PluginUtils.shouldLoadInIsolation( "org.apache.kafka.connect.connector.Connector") ); assertFalse(PluginUtils.shouldLoadInIsolation( "org.apache.kafka.connect.source.SourceConnector") ); assertFalse(PluginUtils.shouldLoadInIsolation( "org.apache.kafka.connect.sink.SinkConnector") ); assertFalse(PluginUtils.shouldLoadInIsolation("org.apache.kafka.connect.connector.Task")); assertFalse(PluginUtils.shouldLoadInIsolation( "org.apache.kafka.connect.source.SourceTask") ); assertFalse(PluginUtils.shouldLoadInIsolation("org.apache.kafka.connect.sink.SinkTask")); assertFalse(PluginUtils.shouldLoadInIsolation( "org.apache.kafka.connect.transforms.Transformation") ); assertFalse(PluginUtils.shouldLoadInIsolation( "org.apache.kafka.connect.storage.Converter") ); assertFalse(PluginUtils.shouldLoadInIsolation( "org.apache.kafka.connect.storage.OffsetBackingStore") ); }
public static boolean shouldLoadInIsolation(String name) { return !(name.matches(BLACKLIST) && !name.matches(WHITELIST)); }
PluginUtils { public static boolean shouldLoadInIsolation(String name) { return !(name.matches(BLACKLIST) && !name.matches(WHITELIST)); } }
PluginUtils { public static boolean shouldLoadInIsolation(String name) { return !(name.matches(BLACKLIST) && !name.matches(WHITELIST)); }  }
PluginUtils { public static boolean shouldLoadInIsolation(String name) { return !(name.matches(BLACKLIST) && !name.matches(WHITELIST)); }  static boolean shouldLoadInIsolation(String name); static boolean isConcrete(Class<?> klass); static boolean isArchive(Path path); static boolean isClassFile(Path path); static List<Path> pluginLocations(Path topPath); static List<Path> pluginUrls(Path topPath); static String simpleName(PluginDesc<?> plugin); static String prunedName(PluginDesc<?> plugin); static boolean isAliasUnique(
            PluginDesc<U> alias,
            Collection<PluginDesc<U>> plugins
    ); }
PluginUtils { public static boolean shouldLoadInIsolation(String name) { return !(name.matches(BLACKLIST) && !name.matches(WHITELIST)); }  static boolean shouldLoadInIsolation(String name); static boolean isConcrete(Class<?> klass); static boolean isArchive(Path path); static boolean isClassFile(Path path); static List<Path> pluginLocations(Path topPath); static List<Path> pluginUrls(Path topPath); static String simpleName(PluginDesc<?> plugin); static String prunedName(PluginDesc<?> plugin); static boolean isAliasUnique(
            PluginDesc<U> alias,
            Collection<PluginDesc<U>> plugins
    );  }