public class WsnInitialContextFactory
extends java.lang.Object
implements javax.naming.spi.InitialContextFactory
This class is only a facade of sorts and does not contain any real implementation. It delegates to an instance of the class specified by an internal property set in the properties file, jndiprovider.properties, which is part of the WebSphere installation. Users of WebSphere do not need to set this property. However, they do need jndiprovider.properties to be in their runtime environment so that it can be found by the class loader in effect.
Constructor and Description |
---|
WsnInitialContextFactory()
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
javax.naming.Context |
getInitialContext(java.util.Hashtable<?,?> env)
This method is implemented as part of the javax.naming.spi.InitialContextFactory
interface.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
public WsnInitialContextFactory()
public javax.naming.Context getInitialContext(java.util.Hashtable<?,?> env) throws javax.naming.NamingException
getInitialContext
in interface javax.naming.spi.InitialContextFactory
javax.naming.NamingException
public java.lang.String toString()
toString
in class java.lang.Object