ServerEnvironmentEnvironment@Contract
public interface ClientEnvironment
| Modifier and Type | Method | Description |
|---|---|---|
javax.naming.Context |
getContext() |
Returns a context that can be used with this environment.
|
java.util.Hashtable |
getProperties() |
Gets the environment hashtable associated with
this environment
|
void |
setEnableServerAffinity(boolean enableServerAffinity) |
Sets the WLContext.ENABLE_SERVER_AFFINITY property
|
void |
setProviderURL(java.lang.String providerURL) |
Sets the Context.PROVIDER_URL property
|
void |
setSecurityCredentials(java.lang.Object password) |
Sets the Context.SECURITY_CREDENTIALS property
|
void |
setSecurityPrincipal(java.lang.String username) |
Sets the Context.SECURITY_PRINCIPAL property
|
void setProviderURL(java.lang.String providerURL)
providerURL - The url to use with this environmentvoid setSecurityPrincipal(java.lang.String username)
username - The username to use with this environmentvoid setSecurityCredentials(java.lang.Object password)
password - The password to use with this environmentvoid setEnableServerAffinity(boolean enableServerAffinity)
enableServerAffinity - javax.naming.Context getContext()
throws javax.naming.NamingException
javax.naming.NamingExceptionjava.util.Hashtable getProperties()