Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for GetService (0.08 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Service.java

    /**
     * Marker interface for all services provided by the {@link Session}.
     * <p>
     * Services can be retrieved from the session using the
     * {@link Session#getService(Class)} method.
     *
     * @since 4.0.0
     * @see Session#getService(Class)
     */
    @Experimental
    @ThreadSafe
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * <p>
         * Shortcut for {@code getService(TypeRegistry.class).require(...)}.
         *
         * @see org.apache.maven.api.services.TypeRegistry#require(String)
         */
        @Nonnull
        Type requireType(@Nonnull String id);
    
        /**
         * Obtain the {@link Language} from the specified {@code id}.
         * <p>
         * Shortcut for {@code getService(LanguageRegistry.class).require(...)}.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        public boolean isValidTid () {
            return getTreeId() != -1;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.TreeConnectResponse#getService()
         */
        @Override
        public String getService () {
            return null;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.TreeConnectResponse#isShareDfs()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon May 23 14:35:20 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                Profile profile = session.getService(SettingsBuilder.class)
                        .convert(org.apache.maven.api.settings.Profile.newBuilder()
                                .repositories(settings.getRepositories())
                                .pluginRepositories(settings.getPluginRepositories())
                                .build());
                RepositoryFactory repositoryFactory = session.getService(RepositoryFactory.class);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

        }
    
    
        /**
         * @return the type of this tree
         */
        public int getTreeType () {
            String connectedService = getService();
            if ( "LPT1:".equals(connectedService) ) {
                return SmbConstants.TYPE_PRINTER;
            }
            else if ( "COMM".equals(connectedService) ) {
                return SmbConstants.TYPE_COMM;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/TreeConnectResponse.java

     */
    public interface TreeConnectResponse extends CommonServerMessageBlockResponse {
    
        /**
         * @return tree id
         */
        int getTid ();
    
    
        /**
         * @return service
         */
        String getService ();
    
    
        /**
         * @return whether the share is in DFS
         */
        boolean isShareDfs ();
    
    
        /**
         * @return whether the tree id is a valid one
         */
        boolean isValidTid ();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

                                                        e -> e.getKey().toString(),
                                                        e -> e.getValue().toString()));
                                    } else if ("getService".equals(method.getName())) {
                                        if (args[0] == SettingsXmlFactory.class) {
                                            return settingsXmlFactory;
                                        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/Kerb5Authenticator.java

            NtlmPasswordAuthenticator.cloneInternal(to, from);
            to.setUser(from.getUser());
            to.setRealm(from.getRealm());
            to.setService(from.getService());
            to.setLifeTime(from.getLifeTime());
            to.setUserLifeTime(from.getUserLifeTime());
    
            to.canFallback = from.canFallback;
            to.forceFallback = from.forceFallback;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

            super(config, andx);
        }
    
    
        /**
         * @return the service
         */
        @Override
        public final String getService () {
            return this.service;
        }
    
    
        /**
         * @return the nativeFileSystem
         */
        public final String getNativeFileSystem () {
            return this.nativeFileSystem;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  10. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

                                    } else if ("getUserProperties".equals(method.getName())) {
                                        return Map.of();
                                    } else if ("getService".equals(method.getName())) {
                                        if (args[0] == ToolchainsXmlFactory.class) {
                                            return toolchainsXmlFactory;
                                        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top