public class DummyContextFactory extends Object implements InitialContextFactory
| Constructor and Description |
|---|
DummyContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
Context |
getInitialContext(Hashtable environment)
Creates an Initial Context for beginning name resolution.
|
public Context getInitialContext(Hashtable environment) throws 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 in interface InitialContextFactoryenvironment - The possibly null environment
specifying information to be used in the creation
of the initial context.NamingException - If cannot create an initial context.Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.