Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for getContextClassLoader (0.16 sec)

  1. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

                return defaultClazz; // just use the default type
            }
    
            // TCCL allows surrounding container to influence class loading policy
            final ClassLoader tccl = Thread.currentThread().getContextClassLoader();
            if (tccl != null) {
                try {
                    return tccl.loadClass(name);
                } catch (final Exception e) {
                    // drop through...
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ClassUtil.java

        public static <T> Class<T> forName(final String className) throws ClassNotFoundRuntimeException {
            assertArgumentNotEmpty("className", className);
    
            return forName(className, Thread.currentThread().getContextClassLoader());
        }
    
        /**
         * 指定されたクラスローダを使って、 指定された文字列名を持つクラスまたはインタフェースに関連付けられた{@link Class}
         * オブジェクトを返します。
         *
         * @param <T>
         *            {@link Class}オブジェクトが表すクラス
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            requireNonNull(invokerRequest);
    
            Properties oldProps = (Properties) System.getProperties().clone();
            ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
            try (C context = createContext(invokerRequest)) {
                try {
                    if (context.currentThreadContextClassLoader != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            if (cliRequest.classWorld == null) {
                cliRequest.classWorld =
                        new ClassWorld("plexus.core", Thread.currentThread().getContextClassLoader());
            }
    
            ClassRealm coreRealm = cliRequest.classWorld.getClassRealm("plexus.core");
            if (coreRealm == null) {
                coreRealm = cliRequest.classWorld.getRealms().iterator().next();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top