final class NameServicesImpl extends java.lang.Object implements NameServicesDef
Modifier and Type | Field and Description |
---|---|
private javax.naming.Context |
initialContext |
private T3Client |
t3 |
Constructor and Description |
---|
NameServicesImpl() |
NameServicesImpl(T3Client t3) |
Modifier and Type | Method and Description |
---|---|
javax.naming.Context |
getInitialContext()
Returns the initial WebLogic naming context.
|
javax.naming.Context |
getInitialContext(java.util.Hashtable props)
Returns the initial WebLogic naming context for the
specified set of environment properties.
|
void |
private_setT3Client(T3Client t3)
Used for dynamic construction.
|
private T3Client t3
private javax.naming.Context initialContext
NameServicesImpl(T3Client t3)
NameServicesImpl()
public void private_setT3Client(T3Client t3)
NameServicesDef
private_setT3Client
in interface NameServicesDef
public javax.naming.Context getInitialContext() throws javax.naming.NamingException
getInitialContext
in interface NameServicesDef
javax.naming.NamingException
- if there is an errorpublic javax.naming.Context getInitialContext(java.util.Hashtable props) throws javax.naming.NamingException
getInitialContext
in interface NameServicesDef
props
- Hashtable containing initial properties.
properties.put(Context.SECURITY_PRINCIPAL,"system"); properties.put(Context.SECURITY_CREDENTIALS,"gumby1234"); javax.naming.Context.getInitialContext(properties);
javax.naming.NamingException
- if there is an error