public class JndiContextProvider extends java.lang.Object implements IContextProvider
IContext
that look up in JNDI space.
It don't make caché of returned context, it create one new each time.
The look up is made using new InitialContext() of JNDI.
Constructor and Description |
---|
JndiContextProvider() |
Modifier and Type | Method and Description |
---|---|
IContext |
getContext() |
public IContext getContext() throws javax.naming.NamingException
getContext
in interface IContextProvider
javax.naming.NamingException