|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.cmi.jndi.context.CMIInitialContextFactory
public final class CMIInitialContextFactory
CMIInitialContext factory.
CMIContext| Constructor Summary | |
|---|---|
CMIInitialContextFactory()
|
|
| Method Summary | |
|---|---|
javax.naming.Context |
getInitialContext(java.util.Hashtable<?,?> environment)
Create a CMI context. Because the JNDI environment is provided in parameter, if the expected properties are not set, a NamingException will be thrown. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CMIInitialContextFactory()
| Method Detail |
|---|
public javax.naming.Context getInitialContext(java.util.Hashtable<?,?> environment)
throws CMINamingException
getInitialContext in interface javax.naming.spi.InitialContextFactoryenvironment - The needed properties to create the CMI context.
CMINamingException - If cannot create an initial context.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||