|
TIBCO Enterprise Message Service Version 4.3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tibco.tibjms.naming.TibjmsContext
Implements the Context interface for lookups of information stored in the
JNDI supported by TIBCO Enterprise Message Service.
TIBCO Enterprise Message Service implements proprietary JNDI which can be used
by JMS clients to use JNDI lookup calls in order to load ConnectionFactories
and Destinations. Notice that this class supports only lookup() methods and
does not support bind(), unbind(), list() and other methods used to
store objects into JNDI store or perform complex lookup operations.
Administered objects can be placed into the server JNDI configuration using
the TIBCO Enterprise Message Service Administration Tool or from a Java program
using TIBCO Enterprise Message Service Administration API.
This class allows to use secure SSL connection to the JMS server while
performing JNDI lookups. To set up SSL connection to the JNDI backend
supported by the server, the application should set appropriate SSL
properties into the environment used to create this Context.
Description of SSL properties is provided with this class but more
detailed description of possible values and other information is
provided with the com.tibco.tibjms.TibjmsSSL class.
This class also allows to perform fault-tolerant connection to JNDI
backend. This means that JMS application may specify several server URLs
in the PROVIDER_URL property.
Field Summary | |
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 SSL property specifying if client should use SSL for authentication only. |
static java.lang.String |
SSL_CIPHER_SUITES
Constant that holds the name of SSL property specifying the set of cipher suites to be used by the SSL connection in Tibjms JNDI lookups. |
static java.lang.String |
SSL_DEBUG_TRACE
Constant that holds the name of SSL 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 SSL property specifying if client should verify the common name in the server certificate in Tibjms JNDI lookups. |
static java.lang.String |
SSL_ENABLE_VERIFY_HOST_NAME
Constant that holds the name of SSL 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 SSL 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 SSL property specifying the custom host name verifier in Tibjms JNDI lookups. |
static java.lang.String |
SSL_IDENTITY
Constant that holds the name of SSL property specifying the client-side identity in Tibjms JNDI lookups. |
static java.lang.String |
SSL_IDENTITY_ENCODING
Constant that holds the name of SSL 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 SSL 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 SSL 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 SSL 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 SSL property specifying the encoding of the data presented by PRIVATE_KEY property in Tibjms JNDI lookups. |
static java.lang.String |
SSL_RENEGOTIATE_INTERVAL
Deprecated. This property is no longer supported, and may be removed from future versions of EMS. |
static java.lang.String |
SSL_RENEGOTIATE_SIZE
Deprecated. This property is no longer supported, and may be removed from future versions of EMS. |
static java.lang.String |
SSL_TRACE
Constant that holds the name of SSL property specifying if client trace is required in Tibjms JNDI lookups. |
static java.lang.String |
SSL_TRUSTED_CERTIFICATES
Constant that holds the name of SSL property specifying the set of trusted certificates in Tibjms JNDI lookups. |
static java.lang.String |
SSL_VENDOR
Constant that holds the name of SSL property specifying the SSL vendor to be used in Tibjms JNDI lookups. |
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, STATE_FACTORIES, URL_PKG_PREFIXES |
Method Summary | |
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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
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
TibjmsSSL.ENABLE_VERIFY_HOST
,
Constant Field Valuespublic static final java.lang.String SSL_ENABLE_VERIFY_HOST_NAME
TibjmsSSL.ENABLE_VERIFY_HOST_NAME
,
Constant Field Valuespublic static final java.lang.String SSL_EXPECTED_HOST_NAME
TibjmsSSL.EXPECTED_HOST_NAME
,
Constant Field Valuespublic static final java.lang.String SSL_AUTH_ONLY
public static final java.lang.String SSL_TRUSTED_CERTIFICATES
TibjmsSSL.TRUSTED_CERTIFICATES
,
Constant Field Valuespublic static final java.lang.String SSL_HOST_NAME_VERIFIER
TibjmsSSL.HOST_NAME_VERIFIER
,
Constant Field Valuespublic 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
TibjmsSSL.ISSUER_CERTIFICATES
,
Constant Field Valuespublic static final java.lang.String SSL_PRIVATE_KEY
TibjmsSSL.PRIVATE_KEY
,
Constant Field Valuespublic static final java.lang.String SSL_PRIVATE_KEY_ENCODING
TibjmsSSL.PRIVATE_KEY_ENCODING
,
Constant Field Valuespublic static final java.lang.String SSL_PASSWORD
TibjmsSSL.PASSWORD
,
Constant Field Valuespublic static final java.lang.String SSL_RENEGOTIATE_SIZE
TibjmsSSL.RENEGOTIATE_SIZE
,
Constant Field Valuespublic static final java.lang.String SSL_RENEGOTIATE_INTERVAL
TibjmsSSL.RENEGOTIATE_INTERVAL
,
Constant Field Valuespublic static final java.lang.String SSL_CIPHER_SUITES
TibjmsSSL.CIPHER_SUITES
,
Constant Field ValuesMethod Detail |
public 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
|
TIBCO Enterprise Message Service Version 4.3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |