Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 52 for getClassLoader (0.2 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

            injector.bindInstance(Context.class, new Context(userProperties, systemProperties));
            injector.bindImplicit(Providers.class);
            injector.discover(ProtoSession.class.getClassLoader());
            Session session = injector.getInstance(Session.class);
            SessionScope scope = new SessionScope();
            scope.enter();
            scope.seed(Session.class, session);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/FinalizableReferenceQueue.java

        URL getBaseUrl() throws IOException {
          // Find URL pointing to Finalizer.class file.
          String finalizerPath = FINALIZER_CLASS_NAME.replace('.', '/') + ".class";
          URL finalizerUrl = getClass().getClassLoader().getResource(finalizerPath);
          if (finalizerUrl == null) {
            throw new FileNotFoundException(finalizerPath);
          }
    
          // Find URL pointing to base of class path.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

                    // drop through...
                }
            }
    
            // assume custom type is in same class space as default
            final ClassLoader peer = defaultClazz.getClassLoader();
            if (peer != null) {
                try {
                    return peer.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)
  4. src/main/java/jcifs/http/NetworkExplorer.java

                    new NtlmSsp();
                }
                else {
                    this.credentialsSupplied = true;
                }
    
                try {
                    try ( InputStream is = getClass().getClassLoader().getResourceAsStream("jcifs/http/ne.css"); ) {
                        while ( ( n = is.read(buf) ) != -1 ) {
                            sb.append(new String(buf, 0, n, "ISO8859_1"));
                        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                ntlmSsp = new NtlmSsp();
            } else {
                credentialsSupplied = true;
            }
    
            try {
                mimeMap = new MimeMap();
                is = getClass().getClassLoader().getResourceAsStream( "jcifs/smb1/http/ne.css" );
                while(( n = is.read( buf )) != -1 ) {
                    sb.append( new String( buf, 0, n, "ISO8859_1" ));
                }
                style = sb.toString();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        PopulatableMapAsMultimap() {
          this.map = newHashMap();
          this.unusableDelegate =
              (SetMultimap<K, V>)
                  newProxyInstance(
                      SetMultimap.class.getClassLoader(),
                      new Class<?>[] {SetMultimap.class},
                      new InvocationHandler() {
                        @Override
                        public Object invoke(Object proxy, Method method, Object[] args)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        PopulatableMapAsMultimap() {
          this.map = newHashMap();
          this.unusableDelegate =
              (SetMultimap<K, V>)
                  newProxyInstance(
                      SetMultimap.class.getClassLoader(),
                      new Class<?>[] {SetMultimap.class},
                      new InvocationHandler() {
                        @Override
                        public Object invoke(Object proxy, Method method, Object[] args)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        List<Class<?>> classes = Lists.newArrayList();
        String packageName = getClass().getPackage().getName();
        for (ClassPath.ClassInfo classInfo :
            ClassPath.from(getClass().getClassLoader()).getTopLevelClasses(packageName)) {
          Class<?> cls;
          try {
            cls = classInfo.load();
          } catch (NoClassDefFoundError e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ResourceUtil.java

            return clazz.getName().replace('.', '/') + ".class";
        }
    
        /**
         * コンテキストクラスローダを返します。
         *
         * @return コンテキストクラスローダ
         */
        public static ClassLoader getClassLoader() {
            return Thread.currentThread().getContextClassLoader();
        }
    
        /**
         * コンテキストクラスローダからリソースを返します。
         *
         * @param path
         *            リソースのパス。{@literal null}や空文字列であってはいけません
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                        getExtensionComponents(session.getProjects(), AbstractMavenLifecycleParticipant.class)) {
                    Thread.currentThread().setContextClassLoader(listener.getClass().getClassLoader());
                    method.run(listener, session);
                }
            } finally {
                Thread.currentThread().setContextClassLoader(originalClassLoader);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
Back to top