Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for getInstance (0.24 sec)

  1. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.jar

    ConfiguratorAdapter extends Configurator { private static java.util.HashMap instances; private org.codehaus.plexus.classworlds.launcher.Configurator config; public static ConfiguratorAdapter getInstance(org.codehaus.plexus.classworlds.launcher.Configurator, Launcher); public static ConfiguratorAdapter getInstance(org.codehaus.plexus.classworlds.launcher.Configurator, ClassWorld); private void ConfiguratorAdapter(org.codehaus.plexus.classworlds.launcher.Configurator, Launcher); private void Configur...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 41.6K bytes
    - Viewed (0)
  2. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

                checkForUpdates = true;
            } else if (UPDATE_POLICY_DAILY.equals(updatePolicy)) {
                // Get local midnight boundary
                Calendar cal = Calendar.getInstance();
    
                cal.set(Calendar.HOUR_OF_DAY, 0);
                cal.set(Calendar.MINUTE, 0);
                cal.set(Calendar.SECOND, 0);
                cal.set(Calendar.MILLISECOND, 0);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. 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)
  4. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.jar

    ConfiguratorAdapter extends Configurator { private static java.util.HashMap instances; private org.codehaus.plexus.classworlds.launcher.Configurator config; public static ConfiguratorAdapter getInstance(org.codehaus.plexus.classworlds.launcher.Configurator, Launcher); public static ConfiguratorAdapter getInstance(org.codehaus.plexus.classworlds.launcher.Configurator, ClassWorld); private void ConfiguratorAdapter(org.codehaus.plexus.classworlds.launcher.Configurator, Launcher); private void Configur...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 41.6K bytes
    - Viewed (0)
  5. 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)
  6. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

            }
            sourceState.set(result);
            return result;
        }
    
        static String sha1(Path path) throws NoSuchAlgorithmException, IOException {
            MessageDigest md = MessageDigest.getInstance("SHA-1");
            try (InputStream fis = Files.newInputStream(path)) {
                byte[] buffer = new byte[SHA1_BUFFER_SIZE];
                int read;
                while ((read = fis.read(buffer)) != -1) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. maven-core/src/test/resources/apiv4-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 Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 164.6K bytes
    - Viewed (0)
  10. maven-core/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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Oct 23 23:48:02 GMT 2009
    - 164.6K bytes
    - Viewed (0)
Back to top