|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.kernel.naming.LocalContextFactory
LightweightContainer_1.
public class LocalContextFactory
Local contexts are registered in the Java VM under their PROVIDER_URL.
| Constructor Summary | |
|---|---|
LocalContextFactory()
Deprecated. |
|
| Method Summary | |
|---|---|
protected Context |
createInitialContext(Hashtable environment)
Deprecated. Create an initial context for a specific provider URL. |
Context |
getInitialContext(Hashtable environment)
Deprecated. |
protected static boolean |
isWithoutInitialization(Hashtable environment)
Deprecated. Tests whether the environment contains a provider URL |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocalContextFactory()
| Method Detail |
|---|
protected static boolean isWithoutInitialization(Hashtable environment)
environment -
protected Context createInitialContext(Hashtable environment)
throws NamingException
This method handles the cases where the provider URL is null or empty. It must be overridden by a subclass for all other cases.
environment -
NoInitialContextException - if the class is not able to create an initial context for the
specified provider
NamingException
public Context getInitialContext(Hashtable environment)
throws NamingException
getInitialContext in interface InitialContextFactoryNamingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||