public class CarbonInitialContextFactory extends Object implements InitialContextFactory
| Constructor and Description |
|---|
CarbonInitialContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
Context |
getInitialContext(Hashtable environment)
Create initial context using the given provider ICF name.
|
static void |
registerProviderICF(String providerName,
InitialContextFactory providerICF)
Register a provider ICF instance
|
public Context getInitialContext(Hashtable environment) throws NamingException
getInitialContext in interface InitialContextFactoryenvironment - Initial context propertiesNamingExceptionpublic static void registerProviderICF(String providerName, InitialContextFactory providerICF)
providerName - Fully qualified class name of the providerproviderICF - Provider instanceCopyright © 2015 WSO2 Inc. All rights reserved.