public class TibjmsContext
extends java.lang.Object
implements javax.naming.Context, javax.naming.Referenceable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_URL_LIST
Constant that holds the name of the environment property for specifying
multiple server URL's to provide fault tolerance on JNDI lookups.
|
static java.lang.String |
SECURITY_PROTOCOL
Constant that holds the name of the environment property for specifying
the security protocol to use in Tibjms JNDI lookups.
|
static java.lang.String |
SSL_AUTH_ONLY
Constant that holds the name of TLS property specifying if client should
use TLS for authentication only.
|
static java.lang.String |
SSL_CIPHER_SUITES
Constant that holds the name of TLS property specifying the set of cipher
suites to be used by the TLS connection in Tibjms JNDI lookups.
|
static java.lang.String |
SSL_DEBUG_TRACE
Constant that holds the name of TLS property specifying if client debug
trace is required in Tibjms JNDI lookups.
|
static java.lang.String |
SSL_ENABLE_VERIFY_HOST
Constant that holds the name of TLS property specifying if client should
verify the server certificate in Tibjms JNDI lookups.
|
static java.lang.String |
SSL_ENABLE_VERIFY_HOST_NAME
Constant that holds the name of TLS property specifying if client should
verify the common name in the server certificate in Tibjms JNDI lookups.
|
static java.lang.String |
SSL_EXPECTED_HOST_NAME
Constant that holds the name of TLS property specifying the common name
in the server certificate in Tibjms JNDI lookups.
|
static java.lang.String |
SSL_HOST_NAME_VERIFIER
Constant that holds the name of TLS property specifying the custom host
name verifier in Tibjms JNDI lookups.
|
static java.lang.String |
SSL_IDENTITY
Constant that holds the name of TLS property specifying the client-side
identity in Tibjms JNDI lookups.
|
static java.lang.String |
SSL_IDENTITY_ENCODING
Constant that holds the name of TLS property specifying the encoding of
the data presented by IDENTITY property in Tibjms JNDI lookups.
|
static java.lang.String |
SSL_ISSUER_CERTIFICATES
Constant that holds the name of TLS property specifying the additional
issuer certificates for the client certificate in Tibjms JNDI lookups.
|
static java.lang.String |
SSL_PASSWORD
Constant that holds the name of TLS property specifying the password for
the private key or the identity store in Tibjms JNDI lookups.
|
static java.lang.String |
SSL_PRIVATE_KEY
Constant that holds the name of TLS property specifying the private key
for the client certificate in Tibjms JNDI lookups.
|
static java.lang.String |
SSL_PRIVATE_KEY_ENCODING
Constant that holds the name of TLS property specifying the encoding of
the data presented by PRIVATE_KEY property in Tibjms JNDI lookups.
|
static java.lang.String |
SSL_TRACE
Constant that holds the name of TLS property specifying if client trace
is required in Tibjms JNDI lookups.
|
static java.lang.String |
SSL_TRUSTED_CERTIFICATES
Constant that holds the name of TLS property specifying the set of
trusted certificates in Tibjms JNDI lookups.
|
static java.lang.String |
SSL_VENDOR
Constant that holds the name of TLS property specifying the TLS vendor
to be used in Tibjms JNDI lookups.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
addToEnvironment(java.lang.String propName,
java.lang.Object propValue) |
void |
bind(javax.naming.Name name,
java.lang.Object value) |
void |
bind(java.lang.String name,
java.lang.Object value) |
void |
close() |
javax.naming.Name |
composeName(javax.naming.Name name,
javax.naming.Name prefix) |
java.lang.String |
composeName(java.lang.String name,
java.lang.String prefix) |
javax.naming.Context |
createSubcontext(javax.naming.Name name) |
javax.naming.Context |
createSubcontext(java.lang.String name) |
void |
destroySubcontext(javax.naming.Name name) |
void |
destroySubcontext(java.lang.String name) |
java.util.Hashtable |
getEnvironment() |
java.lang.String |
getNameInNamespace() |
javax.naming.NameParser |
getNameParser(javax.naming.Name name) |
javax.naming.NameParser |
getNameParser(java.lang.String name) |
javax.naming.Reference |
getReference() |
javax.naming.NamingEnumeration |
list(javax.naming.Name name) |
javax.naming.NamingEnumeration |
list(java.lang.String name) |
javax.naming.NamingEnumeration |
listBindings(javax.naming.Name name) |
javax.naming.NamingEnumeration |
listBindings(java.lang.String name) |
java.lang.Object |
lookup(javax.naming.Name name) |
java.lang.Object |
lookup(java.lang.String nameString) |
java.lang.Object |
lookupLink(javax.naming.Name name) |
java.lang.Object |
lookupLink(java.lang.String name) |
void |
rebind(javax.naming.Name name,
java.lang.Object value) |
void |
rebind(java.lang.String name,
java.lang.Object value) |
java.lang.Object |
removeFromEnvironment(java.lang.String propName) |
void |
rename(javax.naming.Name oldName,
javax.naming.Name newName) |
void |
rename(java.lang.String oldName,
java.lang.String newName) |
void |
unbind(javax.naming.Name name) |
void |
unbind(java.lang.String name) |
public static final java.lang.String PROPERTY_URL_LIST
public static final java.lang.String SECURITY_PROTOCOL
public static final java.lang.String SSL_VENDOR
TibjmsSSL.VENDOR
,
Constant Field Valuespublic static final java.lang.String SSL_TRACE
TibjmsSSL.TRACE
,
Constant Field Valuespublic static final java.lang.String SSL_DEBUG_TRACE
TibjmsSSL.DEBUG_TRACE
,
Constant Field Valuespublic static final java.lang.String SSL_ENABLE_VERIFY_HOST
public static final java.lang.String SSL_ENABLE_VERIFY_HOST_NAME
public static final java.lang.String SSL_EXPECTED_HOST_NAME
public static final java.lang.String SSL_AUTH_ONLY
public static final java.lang.String SSL_TRUSTED_CERTIFICATES
public static final java.lang.String SSL_HOST_NAME_VERIFIER
public static final java.lang.String SSL_IDENTITY
TibjmsSSL.IDENTITY
,
Constant Field Valuespublic static final java.lang.String SSL_IDENTITY_ENCODING
TibjmsSSL.IDENTITY_ENCODING
,
Constant Field Valuespublic static final java.lang.String SSL_ISSUER_CERTIFICATES
public static final java.lang.String SSL_PRIVATE_KEY
TibjmsSSL.PRIVATE_KEY
,
Constant Field Valuespublic static final java.lang.String SSL_PRIVATE_KEY_ENCODING
public static final java.lang.String SSL_PASSWORD
TibjmsSSL.PASSWORD
,
Constant Field Valuespublic static final java.lang.String SSL_CIPHER_SUITES
TibjmsSSL.CIPHER_SUITES
,
Constant Field Valuespublic javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
javax.naming.NamingException
public java.lang.Object addToEnvironment(java.lang.String propName, java.lang.Object propValue) throws javax.naming.NamingException
addToEnvironment
in interface javax.naming.Context
javax.naming.NamingException
public java.util.Hashtable getEnvironment() throws javax.naming.NamingException
getEnvironment
in interface javax.naming.Context
javax.naming.NamingException
public java.lang.Object removeFromEnvironment(java.lang.String propName) throws javax.naming.NamingException
removeFromEnvironment
in interface javax.naming.Context
javax.naming.NamingException
public javax.naming.Name composeName(javax.naming.Name name, javax.naming.Name prefix) throws javax.naming.NamingException
composeName
in interface javax.naming.Context
javax.naming.NamingException
public java.lang.String composeName(java.lang.String name, java.lang.String prefix) throws javax.naming.NamingException
composeName
in interface javax.naming.Context
javax.naming.NamingException
public java.lang.String getNameInNamespace() throws javax.naming.NamingException
getNameInNamespace
in interface javax.naming.Context
javax.naming.NamingException
public javax.naming.NameParser getNameParser(java.lang.String name) throws javax.naming.NamingException
getNameParser
in interface javax.naming.Context
javax.naming.NamingException
public javax.naming.NameParser getNameParser(javax.naming.Name name) throws javax.naming.NamingException
getNameParser
in interface javax.naming.Context
javax.naming.NamingException
public javax.naming.NamingEnumeration list(java.lang.String name) throws javax.naming.NamingException
list
in interface javax.naming.Context
javax.naming.NamingException
public java.lang.Object lookup(java.lang.String nameString) throws javax.naming.NamingException
lookup
in interface javax.naming.Context
javax.naming.NamingException
public java.lang.Object lookup(javax.naming.Name name) throws javax.naming.NamingException
lookup
in interface javax.naming.Context
javax.naming.NamingException
public java.lang.Object lookupLink(java.lang.String name) throws javax.naming.NamingException
lookupLink
in interface javax.naming.Context
javax.naming.NamingException
public java.lang.Object lookupLink(javax.naming.Name name) throws javax.naming.NamingException
lookupLink
in interface javax.naming.Context
javax.naming.NamingException
public void close() throws javax.naming.NamingException
close
in interface javax.naming.Context
javax.naming.NamingException
public javax.naming.NamingEnumeration list(javax.naming.Name name) throws javax.naming.NamingException
list
in interface javax.naming.Context
javax.naming.NamingException
public javax.naming.NamingEnumeration listBindings(java.lang.String name) throws javax.naming.NamingException
listBindings
in interface javax.naming.Context
javax.naming.NamingException
public javax.naming.NamingEnumeration listBindings(javax.naming.Name name) throws javax.naming.NamingException
listBindings
in interface javax.naming.Context
javax.naming.NamingException
public javax.naming.Context createSubcontext(javax.naming.Name name) throws javax.naming.NamingException
createSubcontext
in interface javax.naming.Context
javax.naming.NamingException
public javax.naming.Context createSubcontext(java.lang.String name) throws javax.naming.NamingException
createSubcontext
in interface javax.naming.Context
javax.naming.NamingException
public void destroySubcontext(javax.naming.Name name) throws javax.naming.NamingException
destroySubcontext
in interface javax.naming.Context
javax.naming.NamingException
public void destroySubcontext(java.lang.String name) throws javax.naming.NamingException
destroySubcontext
in interface javax.naming.Context
javax.naming.NamingException
public void bind(java.lang.String name, java.lang.Object value) throws javax.naming.NamingException
bind
in interface javax.naming.Context
javax.naming.NamingException
public void bind(javax.naming.Name name, java.lang.Object value) throws javax.naming.NamingException
bind
in interface javax.naming.Context
javax.naming.NamingException
public void rebind(java.lang.String name, java.lang.Object value) throws javax.naming.NamingException
rebind
in interface javax.naming.Context
javax.naming.NamingException
public void rebind(javax.naming.Name name, java.lang.Object value) throws javax.naming.NamingException
rebind
in interface javax.naming.Context
javax.naming.NamingException
public void rename(java.lang.String oldName, java.lang.String newName) throws javax.naming.NamingException
rename
in interface javax.naming.Context
javax.naming.NamingException
public void rename(javax.naming.Name oldName, javax.naming.Name newName) throws javax.naming.NamingException
rename
in interface javax.naming.Context
javax.naming.NamingException
public void unbind(java.lang.String name) throws javax.naming.NamingException
unbind
in interface javax.naming.Context
javax.naming.NamingException
public void unbind(javax.naming.Name name) throws javax.naming.NamingException
unbind
in interface javax.naming.Context
javax.naming.NamingException
Copyright © Cloud Software Group, Inc. All rights reserved