|
jBroker® MQ 2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The base class for jBroker MQ connections. The connection inherits its configuration from the connection factory, including username/password, client identifier, and server host/port settings.
JMQQueueConnection
,
JMQXAQueueConnection
,
JMQTopicConnection
,
JMQXATopicConnection
Method Summary | |
byte[][] |
getCertificateChain()
Get the DER encoded certificate chain of the client. |
JMQConnectionFactory |
getConnectionFactory()
Get the connection factory that created this object. |
JMQDestinationAdmin |
getDestinationAdmin()
Get the destination administration interface |
CipherSuite |
getNegotiatedCipherSuite()
Get the cipher suite negotiated between client and server. |
Principal |
getPrincipal()
Get the identity of the client |
JMQSecurityAdmin |
getSecurityAdmin()
Get the security administration interface |
Methods inherited from interface javax.jms.Connection |
close, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop |
Method Detail |
public Principal getPrincipal() throws JMSException
Principal
who created this connectionJMSException
- the JMS provider could not execute this methodPrincipal
public JMQConnectionFactory getConnectionFactory()
public JMQSecurityAdmin getSecurityAdmin() throws JMSException
JMQSecurityAdmin
objectJMSSecurityException
- if security is enabled in
the server, and and the Principal is not an administratorgetPrincipal()
,
JMSSecurityException
,
JMQSecurityAdmin
public JMQDestinationAdmin getDestinationAdmin() throws JMSException
JMQDestinationAdmin
objectJMSSecurityException
- if security is enabled in
the server, and and the Principal is not an administratorgetPrincipal()
,
JMSSecurityException
,
JMQDestinationAdmin
public byte[][] getCertificateChain() throws JMSException
JMSException
- if certificate chain could not be obtainedpublic CipherSuite getNegotiatedCipherSuite() throws JMSException
CipherSuite
constantJMSException
- if cipher suite could not be obtained
|
jBroker® MQ 2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |