|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientEnvironment
This is an environment that can be used on a thinner client. The server implementation may do things that the client implementation cannot do. In order to keep the thin client thin, this class may not pull in any weblogic specific classes.
Method Summary | |
---|---|
Context |
getContext()
Returns a context that can be used with this environment. |
Hashtable |
getProperties()
Gets the environment hashtable associated with this environment |
void |
setEnableServerAffinity(boolean enableServerAffinity)
Sets the WLContext.ENABLE_SERVER_AFFINITY property |
void |
setProviderURL(String providerURL)
Sets the Context.PROVIDER_URL property |
void |
setSecurityCredentials(Object password)
Sets the Context.SECURITY_CREDENTIALS property |
void |
setSecurityPrincipal(String username)
Sets the Context.SECURITY_PRINCIPAL property |
Method Detail |
---|
void setProviderURL(String providerURL)
providerURL
- The url to use with this environmentvoid setSecurityPrincipal(String username)
username
- The username to use with this environmentvoid setSecurityCredentials(Object password)
password
- The password to use with this environmentvoid setEnableServerAffinity(boolean enableServerAffinity)
enableServerAffinity
- Context getContext() throws NamingException
NamingException
Hashtable getProperties()
|
Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |