public class DummyContextFactory
extends java.lang.Object
implements javax.naming.spi.InitialContextFactory
Title: DummyContextFactory.java
Description:
Copyright: Copyright (c) 2007
| 构造器和说明 |
|---|
DummyContextFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
javax.naming.Context |
getInitialContext(java.util.Hashtable environment)
Creates an Initial Context for beginning name resolution.
|
public javax.naming.Context getInitialContext(java.util.Hashtable environment)
throws javax.naming.NamingException
environment.
The environment parameter is owned by the caller.
The implementation will not modify the object or keep a reference
to it, although it may keep a reference to a clone or copy.getInitialContext 在接口中 javax.naming.spi.InitialContextFactoryenvironment - The possibly null environment
specifying information to be used in the creation
of the initial context.javax.naming.NamingException - If cannot create an initial context.