Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getProvider (0.08 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            this.discover = discover;
        }
    
        @Override
        protected void configure() {
            Provider<PlexusContainer> containerProvider = getProvider(PlexusContainer.class);
            Provider<BeanLocator> beanLocatorProvider = getProvider(BeanLocator.class);
            injector = new BridgeInjectorImpl(beanLocatorProvider, binder());
            bindScope(injector, containerProvider, SessionScoped.class, SessionScope.class);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

        // May fail with ProviderException with root cause like
        // sun.security.pkcs11.wrapper.PKCS11Exception: CKR_SLOT_ID_INVALID
        val pkcs11 = Security.getProvider("SunPKCS11").configure(config)
        Security.addProvider(pkcs11)
    
        val callbackHandler = ConsoleCallbackHandler
    
        val builderList: List<KeyStore.Builder> =
          listOf(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            }
            List<String> subs = new ArrayList<>();
            subs.add("type=" + terminal.getType());
            if (terminal instanceof TerminalExt te) {
                subs.add("provider=" + te.getProvider().name());
            }
            if (terminal instanceof AbstractPosixTerminal pt) {
                subs.add("pty=" + pt.getPty().getClass().getName());
            }
    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-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            assertEquals(
                    "user_value",
                    result.getEffectiveToolchains()
                            .getToolchains()
                            .get(0)
                            .getProvides()
                            .get("key"));
            assertNotNull(result.getProblems());
            assertEquals(0, result.getProblems().size());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

        private val isConscryptPreferred: Boolean
          get() {
            val preferredProvider = Security.getProviders()[0].name
            return "Conscrypt" == preferredProvider
          }
    
        private val isOpenJSSEPreferred: Boolean
          get() {
            val preferredProvider = Security.getProviders()[0].name
            return "OpenJSSE" == preferredProvider
          }
    
        private val isBouncyCastlePreferred: Boolean
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

                <![CDATA[
        /**
         * Computes a hash value based on {@link #getType()} and {@link #getProvides()} values.
         */
        public int hashCode() {
            return java.util.Objects.hash(getType(), getProvides());
        } //-- int hashCode()
    
        /**
         * Checks equality based on {@link #getType()} and {@link #getProvides()} values.
         */
        public boolean equals(Object other) {
            if (this == other) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

                task.getGithubToken().set(project.getProviders().environmentVariable("GITHUB_TOKEN"));
                task.getReleaseNotes().set(extension.getReleaseNotes().getMarkdownFile());
                task.getMilestone().convention(project.getProviders().fileContents(project.getIsolated().getRootProject().getProjectDirectory().file("version.txt")).getAsText().map(String::trim));
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 08:15:16 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

              if (System.getProperty("javax.net.debug") == null) {
                System.setProperty("javax.net.debug", "")
              }
            } else if (platformSystemProperty == CONSCRYPT_PROPERTY) {
              if (Security.getProviders()[0].name != "Conscrypt") {
                if (!Conscrypt.isAvailable()) {
                  System.err.println("Warning: Conscrypt not available")
                }
    
                val provider =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

            ProjectLayout layout = project.getLayout();
            TaskContainer tasks = project.getTasks();
            ObjectFactory objects = project.getObjects();
            ProviderFactory providers = project.getProviders();
    
            GradleDocumentationExtension extension = project.getExtensions().create("gradleDocumentation", GradleDocumentationExtension.class);
            applyConventions(project, tasks, objects, layout, extension);
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 17 20:04:00 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top