- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 50 for getClassLoader (0.07 sec)
-
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java
* the bean class will be used. * * @return The class loader to load referenced types from or {@code null} if unset. */ ClassLoader getClassLoader(); /** * Sets the class loader from which to load any types referenced by the configuration. If unset, the class loader of * the bean class will be used. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
"xml") .transform("com.google.common."::concat) .toSet(); public void testClassesHaveOverrides() throws Exception { for (ClassInfo info : ClassPath.from(getClass().getClassLoader()).getAllClasses()) { if (!GUAVA_PACKAGES.contains(info.getPackageName())) { continue; } if ( /*
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 03:07:54 UTC 2025 - 5.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
} private static Object newProxyWithEqualsForInterfaces(Class<?>... interfaces) { return Proxy.newProxyInstance( AbstractInvocationHandlerTest.class.getClassLoader(), interfaces, new DelegatingInvocationHandlerWithEquals("a string")); } private static class DelegatingInvocationHandler extends AbstractInvocationHandler implements Serializable {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 02:48:50 UTC 2024 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
} private String getDefaultMappings() throws IOException { try (final InputStream is = this.getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest/mappings-default.json")) { if (is == null) { throw new IOException("Resource not found: suggest_indices/suggest/mappings-default.json"); }Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 21.6K bytes - Viewed (3) -
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java
evaluator = mock(ExpressionEvaluator.class); listener = mock(ConfigurationListener.class); helper = new EnhancedCompositeBeanHelper(converterLookup, getClass().getClassLoader(), evaluator, listener); } @AfterEach void tearDown() { EnhancedCompositeBeanHelper.clearCaches(); } @Test void testSetPropertyWithSetter() throws Exception {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 12 14:59:46 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
final StringBuilder sb = new StringBuilder(); try (BufferedReader br = new BufferedReader(new InputStreamReader(this.getClass().getClassLoader().getResourceAsStream(getSuggestAnalyzerPath())))) { String line; while ((line = br.readLine()) != null) { sb.append(line); } }
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 26.5K bytes - Viewed (0) -
CLAUDE.md
+ converter.getClass().getName(), e); } ``` **Resource Management:** ```java try (InputStream is = getClass().getClassLoader() .getResourceAsStream("suggest_indices/suggest.json")) { if (is == null) { throw new IOException("Resource not found"); } return new String(is.readAllBytes(), StandardCharsets.UTF_8);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 8.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
bind(SisuDiBridgeModule.class).toInstance(this); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); if (classLoader == null) { classLoader = getClass().getClassLoader(); } if (discover) { injector.discover(classLoader); } } private void bindScope( InjectorImpl injector,
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 16:01:38 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
final StringBuilder sb = new StringBuilder(); try (BufferedReader br = new BufferedReader( new InputStreamReader(this.getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest_settings.json")));) { String line; while ((line = br.readLine()) != null) { sb.append(line); } }
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 20.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java
* flexibility to load multiple version of maven into dedicated classloaders without assuming state of jvm system * classloader. */ private static final ClassLoader PARENT_CLASSLOADER = ClassWorld.class.getClassLoader(); private final Logger logger = LoggerFactory.getLogger(getClass()); private final ClassWorld world; private final ClassRealm containerRealm; // this is a live injected collectionRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 13.5K bytes - Viewed (0)