public class HttpNamingProviderFactory extends Object implements NamingProviderFactory
| Constructor and Description |
|---|
HttpNamingProviderFactory()
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
NamingProvider |
createProvider(FastHashtable<String,Object> env,
ProviderEnvironment providerEnvironment)
Create the naming provider instance for a provider URI.
|
boolean |
supportsUriScheme(String providerScheme,
FastHashtable<String,Object> env)
Determine if this provider supports the given
PROVIDER_URL scheme. |
public HttpNamingProviderFactory()
public boolean supportsUriScheme(String providerScheme, FastHashtable<String,Object> env)
NamingProviderFactoryPROVIDER_URL scheme.supportsUriScheme in interface NamingProviderFactoryproviderScheme - the provider URL scheme, or null if no provider URL was givenenv - a copy of the environment which may be used to determine if this provider supports the given schemetrue if this provider supports the given schemes, false otherwisepublic NamingProvider createProvider(FastHashtable<String,Object> env, ProviderEnvironment providerEnvironment) throws NamingException
NamingProviderFactorycreateProvider in interface NamingProviderFactoryenv - a copy of the environment which may be consumed directly by the provider (not null)providerEnvironment - the provider environment (not null)null)NamingException - if the root context creation failed for some reasonCopyright © 2018 JBoss by Red Hat. All rights reserved.