public class QueueManagerConnections
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONN_OPTIONS_EXIT_CLASSPATH
Key for connOptions Hashtable to specify the security exit classpath to use, value should be a
String
|
static java.lang.String |
CONN_OPTIONS_PASSWORD
Key for connOptions Hashtable to specify the user password to use, value should be a String
|
static java.lang.String |
CONN_OPTIONS_SECURITY_EXIT
Key for connOptions Hashtable to specify the security exit name to use, value should be a
String
|
static java.lang.String |
CONN_OPTIONS_SECURITY_EXIT_USER_DATA
Key for connOptions Hashtable to specify the security exit user data to use, value should be a
String
|
static java.lang.String |
CONN_OPTIONS_SSL_CIPHER_SUITE
Key for connOptions Hashtable to specify the SSL cipher suite to use, value should be a String
|
static java.lang.String |
CONN_OPTIONS_SSL_PEER_NAME
Key for connOptions Hashtable to specify the SSL peer name to use, value should be a String
|
static java.lang.String |
CONN_OPTIONS_SSL_PERSONAL_STORE
Key for connOptions Hashtable to specify the SSL personal store name to use, value should be a
String.
|
static java.lang.String |
CONN_OPTIONS_SSL_PERSONAL_STORE_PW
Key for connOptions Hashtable to specify the SSL personal store password to use, value should
be a String.
|
static java.lang.String |
CONN_OPTIONS_SSL_RESET_COUNT
Key for connOptions Hashtable to specify the SSL reset count to use, value should be an Integer
|
static java.lang.String |
CONN_OPTIONS_SSL_TRUSTED_STORE
Key for connOptions Hashtable to specify the SSL trusted store name to use, value should be a
String
|
static java.lang.String |
CONN_OPTIONS_SSL_TRUSTED_STORE_PW
Key for connOptions Hashtable to specify the SSL trusted store password to use, value should be
a String.
|
static java.lang.String |
CONN_OPTIONS_USER_ID
Key for connOptions Hashtable to specify the user id to use, value should be a String
|
static java.lang.String |
COPYRIGHT_NOTICE
Common copyright notice
|
static java.lang.String |
OPTIONS_AUTORECONNECT
Key for options Hashtable to specify whether to auto-reconnect this queue manager, the value
should be a Boolean.
|
static java.lang.String |
OPTIONS_REFRESH_INTERVAL
Key for options Hashtable to specify the refresh interval, the value should be an Integer.
|
static java.lang.String |
OPTIONS_SHOW_DIALOGS_ON_ERROR
Key for options Hashtable to specify whether dialogs should be shown to the user if the
connection cannot be made, the value should be a Boolean.
|
static java.lang.String |
SCCSID
CMVC descriptors - expanded during extraction
|
Constructor and Description |
---|
QueueManagerConnections(MQQmgrExtObject existingQM,
java.lang.String targetQ,
java.lang.String targetQM,
java.util.Hashtable<java.lang.String,?> options)
Constructor to add a queue manager to MQ Explorer, via an existing queue manager connection
|
QueueManagerConnections(java.lang.String qmName,
java.lang.String[] connNames,
java.lang.String chlName,
java.util.Hashtable<java.lang.String,?> connOptions,
java.util.Hashtable<java.lang.String,?> options)
Constructor to add a queue manager to MQ Explorer, using a client connection channel
|
QueueManagerConnections(java.lang.String qmName,
java.lang.String connName,
java.lang.String chlName,
java.util.Hashtable<java.lang.String,?> connOptions,
java.util.Hashtable<java.lang.String,?> options)
Constructor to add a queue manager to MQ Explorer, using a client connection channel
|
QueueManagerConnections(java.lang.String qmName,
java.net.URL chanDefTable,
java.util.Hashtable<java.lang.String,?> connOptions,
java.util.Hashtable<java.lang.String,?> options)
Constructor to add a queue manager to MQ Explorer, using a channel definition table
|
Modifier and Type | Method and Description |
---|---|
MQQmgrExtObject |
connect()
Make the connection.
|
static MQQmgrExtObject[] |
getExistingQueueManagers()
Return an array of existing queue managers known to MQ Explorer (local or remote).
|
static boolean |
isFIPSEnabled()
Return whether MQ Explorer will use FIPS when making a connection to a remote queue manager
using SSL
|
static boolean |
isQueueManagerConnected(MQQmgrExtObject mqQmgrExtObject)
Return whether the specified queue manager is currently connected
|
static boolean |
isQueueManagerLocal(MQQmgrExtObject mqQmgrExtObject)
Return whether the specified queue manager is local
|
static boolean |
isQueueManagerVisible(MQQmgrExtObject mqQmgrExtObject)
Return whether the specified queue manager is currently visible (not hidden)
|
static boolean |
removeRemoteQueueManager(MQQmgrExtObject mqQmgrExtObject)
Remove a remote queue manager from MQ Explorer
|
public static final java.lang.String COPYRIGHT_NOTICE
public static final java.lang.String SCCSID
public static final java.lang.String OPTIONS_REFRESH_INTERVAL
public static final java.lang.String OPTIONS_AUTORECONNECT
public static final java.lang.String OPTIONS_SHOW_DIALOGS_ON_ERROR
public static final java.lang.String CONN_OPTIONS_SECURITY_EXIT
public static final java.lang.String CONN_OPTIONS_SECURITY_EXIT_USER_DATA
public static final java.lang.String CONN_OPTIONS_EXIT_CLASSPATH
public static final java.lang.String CONN_OPTIONS_USER_ID
public static final java.lang.String CONN_OPTIONS_PASSWORD
public static final java.lang.String CONN_OPTIONS_SSL_CIPHER_SUITE
public static final java.lang.String CONN_OPTIONS_SSL_PEER_NAME
public static final java.lang.String CONN_OPTIONS_SSL_RESET_COUNT
public static final java.lang.String CONN_OPTIONS_SSL_TRUSTED_STORE
public static final java.lang.String CONN_OPTIONS_SSL_TRUSTED_STORE_PW
public static final java.lang.String CONN_OPTIONS_SSL_PERSONAL_STORE
public static final java.lang.String CONN_OPTIONS_SSL_PERSONAL_STORE_PW
public QueueManagerConnections(java.lang.String qmName, java.net.URL chanDefTable, java.util.Hashtable<java.lang.String,?> connOptions, java.util.Hashtable<java.lang.String,?> options)
qmName
- is the name of the queue managerchanDefTable
- is the channel definition tableoptions
- is the list of options to useconnOptions
- is a list of connection related optionspublic QueueManagerConnections(java.lang.String qmName, java.lang.String connName, java.lang.String chlName, java.util.Hashtable<java.lang.String,?> connOptions, java.util.Hashtable<java.lang.String,?> options)
qmName
- is the name of the queue managerconnName
- is the connection name (hostname or IP address with port address)chlName
- is the client connection channel nameconnOptions
- is a list of connection related optionsoptions
- is the list of options to usepublic QueueManagerConnections(java.lang.String qmName, java.lang.String[] connNames, java.lang.String chlName, java.util.Hashtable<java.lang.String,?> connOptions, java.util.Hashtable<java.lang.String,?> options)
qmName
- is the name of the queue managerconnNames
- is a list of connection names (hostname or IP address with port address)chlName
- is the client connection channel nameconnOptions
- is a list of connection related optionsoptions
- is the list of options to usepublic QueueManagerConnections(MQQmgrExtObject existingQM, java.lang.String targetQ, java.lang.String targetQM, java.util.Hashtable<java.lang.String,?> options)
existingQM
- is an existing queue manager, already added to MQ ExplorertargetQ
- is the target queue name, owned by the target queue managertargetQM
- is the target queue manageroptions
- is the list of options to usepublic MQQmgrExtObject connect() throws QueueManagerConnectionException
MQQmgrExtObject
for the connected queue manager, or null if failed to
connectQueueManagerConnectionException
public static boolean isFIPSEnabled()
true
if FIPS will be used, otherwise false
public static MQQmgrExtObject[] getExistingQueueManagers()
MQQmgrExtObject
objectspublic static boolean isQueueManagerVisible(MQQmgrExtObject mqQmgrExtObject)
mqQmgrExtObject
- the queue manager to testtrue
if the queue manager is visible, false
otherwisepublic static boolean isQueueManagerConnected(MQQmgrExtObject mqQmgrExtObject)
mqQmgrExtObject
- the queue manager to testtrue
if the queue manager is connected, false
otherwisepublic static boolean isQueueManagerLocal(MQQmgrExtObject mqQmgrExtObject)
mqQmgrExtObject
- the queue manager to testtrue
if the queue manager is local, false
otherwisepublic static boolean removeRemoteQueueManager(MQQmgrExtObject mqQmgrExtObject) throws QueueManagerConnectionException
mqQmgrExtObject
- the remote queue manager to removetrue
if the queue manager is removed, false
otherwiseQueueManagerConnectionException