public class LocalOnlyContextFactory extends Object implements InitialContextFactory
Constructor and Description |
---|
LocalOnlyContextFactory() |
Modifier and Type | Method and Description |
---|---|
Context |
getInitialContext(Hashtable<?,?> env) |
Naming |
getNaming() |
void |
setNaming(Naming naming)
Set the Naming instance to use for the root content.
|
public Naming getNaming()
public void setNaming(Naming naming)
naming
- - the Naming instance to use, null if the global
NamingContext.getLocal value should be used.public Context getInitialContext(Hashtable<?,?> env) throws NamingException
getInitialContext
in interface InitialContextFactory
NamingException
Copyright © 2016 JBoss by Red Hat. All rights reserved.