ClientEnvironmentEnvironment@Contract public interface ServerEnvironment extends ClientEnvironment
ClientEnvironment that has API that
 are suitable to be used on the server| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | getEnableDefaultUser() | |
| javax.naming.Context | getInitialContext() | Returns an initial context based on the properties in an
 Environment. | 
| java.lang.String | getProviderUrl() | Returns the Context.PROVIDER_URL property value. | 
| void | setCreateIntermediateContexts(boolean flag) | Set the WLContext.CREATE_INTERMEDIATE_CONTEXTS property to
 the String equivalent of the boolean argument flag. | 
| void | setEnableDefaultUser(boolean defaultUser) | |
| void | setInitialContextFactory(java.lang.String factoryName) | Sets the Context.INITIAL_CONTEXT_FACTORY property value
 to the value of factoryName. | 
| java.lang.Object | setProperty(java.lang.String name,
           java.lang.Object value) | Sets the specified property. | 
| void | setProviderUrl(java.lang.String url) | Sets the Context.PROVIDER_URL property value to
 the value of the argument url. | 
| void | setReplicateBindings(boolean enable) | Sets the WLContext.REPLICATE_BINDINGS property to
 the String equivalent of the boolean argument enable. | 
getContext, getProperties, setEnableServerAffinity, setProviderURL, setSecurityCredentials, setSecurityPrincipaljava.lang.String getProviderUrl()
Context.PROVIDER_URLjava.lang.Object setProperty(java.lang.String name,
                             java.lang.Object value)
name - Name of property to be setvalue - Value (as object) to be setvoid setProviderUrl(java.lang.String url)
url - Provider urlContext.PROVIDER_URLvoid setInitialContextFactory(java.lang.String factoryName)
factoryName - Initial context factory nameContext.INITIAL_CONTEXT_FACTORYjavax.naming.Context getInitialContext()
                                throws javax.naming.NamingException
javax.naming.NamingException - if the initial context cannot be obtainedvoid setEnableDefaultUser(boolean defaultUser)
boolean getEnableDefaultUser()
void setCreateIntermediateContexts(boolean flag)
                            throws java.lang.IllegalArgumentException
flag - to turn on use of intermediate contextsjava.lang.IllegalArgumentException - if the property is unavailable or invalid
                          at runtimeWLContext.CREATE_INTERMEDIATE_CONTEXTSvoid setReplicateBindings(boolean enable)
enable - True to enable replicated bindingsWLContext.REPLICATE_BINDINGS