Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getInstance (0.2 sec)

  1. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

                        return injector.getInstance(type);
                    } catch (DIException e) {
                        throw new MavenException("Unable to locate instance of type " + type, e);
                    }
                }
    
                @Override
                public <T> T lookup(Class<T> type, String name) {
                    try {
                        return injector.getInstance(Key.of(type, name));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                            } else if (key.getQualifier() instanceof Annotation a) {
                                binder.annotatedWith(a);
                            }
                            binder.toProvider(() -> injector.getInstance(clazz));
                        }
                    });
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            try (Writer writer = new OutputStreamWriter(new FileOutputStream(artifactFile), StandardCharsets.ISO_8859_1)) {
                writer.write(artifact.getId());
            }
    
            MessageDigest md = MessageDigest.getInstance("MD5");
            md.update(artifact.getId().getBytes());
            byte[] digest = md.digest();
    
            String md5path = repository.pathOf(artifact) + ".md5";
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                injector.bindInstance(org.apache.maven.api.MojoExecution.class, execution);
                injector.bindInstance(org.apache.maven.api.plugin.Log.class, log);
                mojo = mojoInterface.cast(injector.getInstance(
                        Key.of(mojoDescriptor.getImplementationClass(), mojoDescriptor.getRoleHint())));
    
            } catch (Exception e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    l/reflection/Reflector.class package org.codehaus.plexus.util.reflection; public final synchronized class Reflector { private static final String CONSTRUCTOR_METHOD_NAME = $$CONSTRUCTOR$$; private static final String GET_INSTANCE_METHOD_NAME = getInstance; private java.util.HashMap classMaps; public void Reflector(); public Object newInstance(Class, Object[]) throws ReflectorException; public Object getSingleton(Class, Object[]) throws ReflectorException; public Object invoke(Object, String, Object[])...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 164.6K bytes
    - Viewed (0)
Back to top