public interface NamingProviderFactory
| Modifier and Type | Method and Description |
|---|---|
NamingProvider |
createProvider(URI providerUri,
FastHashtable<String,Object> env)
Create the naming provider instance for a provider URI.
|
boolean |
supportsUriScheme(String providerScheme)
Determine if this provider supports the given
PROVIDER_URL scheme. |
boolean supportsUriScheme(String providerScheme)
PROVIDER_URL scheme.providerScheme - the provider URL scheme, or null if no provider URL was giventrue if this provider supports the given schemes, false otherwiseNamingProvider createProvider(URI providerUri, FastHashtable<String,Object> env) throws NamingException
providerUri - the URI from the Context.PROVIDER_URL environment property, or null if none was givenenv - a copy of the environment which may be consumed directly by the provider (not null)null)NamingException - if the root context creation failed for some reasonCopyright © 2016 JBoss by Red Hat. All rights reserved.