Interface NamingProviderFactory

    • Method Detail

      • supportsUriScheme

        boolean supportsUriScheme​(String providerScheme,
                                  FastHashtable<String,​Object> env)
        Determine if this provider supports the given PROVIDER_URL scheme.
        Parameters:
        providerScheme - the provider URL scheme, or null if no provider URL was given
        env - a copy of the environment which may be used to determine if this provider supports the given scheme
        Returns:
        true if this provider supports the given schemes, false otherwise
      • createProvider

        NamingProvider createProvider​(FastHashtable<String,​Object> env,
                                      ProviderEnvironment providerEnvironment)
                               throws NamingException
        Create the naming provider instance for a provider URI.
        Parameters:
        env - a copy of the environment which may be consumed directly by the provider (not null)
        providerEnvironment - the provider environment (not null)
        Returns:
        the root context (must not be null)
        Throws:
        NamingException - if the root context creation failed for some reason