|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WLContext
Interface for a WebLogic naming context. This extends javax.naming.Context with several WebLogic-specific environment properties, and methods for deleting one of several objects stored in a pool under one name.
Field Summary | |
---|---|
static String |
ALLOW_EXTERNAL_APP_LOOKUP
Specifies whether external clients or other applications are allowed to lookup bindings from an application version. |
static String |
ALLOW_GLOBAL_RESOURCE_LOOKUP
Specifies whether versioned clients or applications are allowed to lookup bindings of global resources. |
static String |
CREATE_INTERMEDIATE_CONTEXTS
Specifies how to handle non-existent intermediate contexts. |
static String |
DELEGATE_ENVIRONMENT
Specifies the JNDI environment to use for connecting to a third-party naming service through the WebLogic Server. |
static String |
ENABLE_DEFAULT_USER
On the Client side no default user would not be set. |
static String |
ENABLE_SERVER_AFFINITY
Cluster-specific: Specifies if multiple context creation's from the same VM should reuse existing connections or round-robin across all servers in the cluster. |
static String |
PIN_TO_PRIMARY_SERVER
Cluster-specific: If true, this property forces the context stub to connect to the primary naming server only (i.e., the server currently running at host specified by Context.PROVIDER_URL). |
static String |
PROVIDER_RJVM
Specifies the RJVM to use as the naming server. |
static String |
RELAX_VERSION_LOOKUP
Specifies the lookup behavior when bindings from the current application version cannot be found. |
static String |
REPLICATE_BINDINGS
Cluster-specific: Specifies whether tree modifications are replicated and is only applicable when connecting to WebLogic Servers that are running in a cluster. |
static String |
REQUEST_TIMEOUT
Forces lookup requests to timeout if the request doesn't get a response from the server within the timeout interval. |
static String |
SSL_CLIENT_CERTIFICATE
Specifies an RSA private key and a chain of certificates for client authentication. |
static String |
SSL_CLIENT_KEY_PASSWORD
Specifies the pasword for an encrypted PKCS5/PKCS8 RSA private key. |
static String |
SSL_ROOT_CA_FINGERPRINTS
Specifies which certificate authorities to trust. |
static String |
SSL_SERVER_NAME
Specifies an expected name of an SSL server as a String. |
Fields inherited from interface javax.naming.Context |
---|
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES |
Method Summary | |
---|---|
String |
getNameInNamespace(String relativeName)
Returns the full name of a property, relative to the root of this namespace. |
void |
unbind(Name name,
Object service)
Unbinds the specified service from the specified name. |
void |
unbind(String name,
Object service)
Unbinds the specified service from the specified name. |
Methods inherited from interface javax.naming.Context |
---|
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameInNamespace, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind |
Field Detail |
---|
static final String CREATE_INTERMEDIATE_CONTEXTS
static final String DELEGATE_ENVIRONMENT
static final String PROVIDER_RJVM
static final String REPLICATE_BINDINGS
Understand the implications of this property before changing its default (true).
static final String PIN_TO_PRIMARY_SERVER
This setting should be used when a connection to a specific server is required. Note that this setting will only have the desired effect if Context.PROVIDER_URL specifes a host name that maps only to a single server address. It will not work, for example, if the host name maps to multiple server addresses in DNS.
static final String SSL_ROOT_CA_FINGERPRINTS
static final String SSL_SERVER_NAME
static final String SSL_CLIENT_CERTIFICATE
If your key and certificates are encoded using PEM, you can obtain the DER encoding using PEMInputStream.
PEMInputStream
,
Constant Field Valuesstatic final String SSL_CLIENT_KEY_PASSWORD
static final String ENABLE_SERVER_AFFINITY
Understand the implications of this property before changing its default (false).
static final String RELAX_VERSION_LOOKUP
true
, the currently active version will be
returned, if any. If the property is set to false
,
a NameNotFoundException
will be returned.
The default value of the property is false
.
Users should exercise discretion and ensure that components
of different application versions are compatible when
setting the property to true
.
static final String ALLOW_EXTERNAL_APP_LOOKUP
false
.
Users should exercise discretion when setting the property
to true
, as this may potentially cause in-flight
work not being tracked properly and application versions to
be retired prematurely.
static final String ALLOW_GLOBAL_RESOURCE_LOOKUP
false
.
Users should exercise discretion when setting the property
to true
, and ensure that simultaneous access
of the global resources are either tolerated or handled
properly by the application.
static final String REQUEST_TIMEOUT
static final String ENABLE_DEFAULT_USER
Method Detail |
---|
String getNameInNamespace(String relativeName) throws NamingException
relativeName
- Property name relative to this context
NamingException
- if a failure occursvoid unbind(Name name, Object service) throws NamingException
name
- Name of service to unbind (as a Name object)service
- Service object to be unbound
NamingException
- if the service is not availablevoid unbind(String name, Object service) throws NamingException
name
- Name of service to unbind (as a String)service
- Service object to be unbound
NamingException
- if the service is not available
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs92 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |