public class MQQmgrExtObject extends MQExtObject
Modifier and Type | Field and Description |
---|---|
static int |
CONNECTION_TYPE_CHANNEL_DEF_TABLE
Connection Type - Using Channel Definition Table
|
static int |
CONNECTION_TYPE_CLIENT
Connection Type - Client
|
static int |
CONNECTION_TYPE_CLIENT_MULTI_INSTANCE
Connection Type - Client for a multi instance queue manager
|
static int |
CONNECTION_TYPE_NOT_AVAILABLE
Connection Type - not available
|
static int |
CONNECTION_TYPE_SERVER
Connection Type - Server
|
static int |
CONNECTION_TYPE_VIA_CMD_Q
Connection Type - Via Command Queue
|
static java.lang.String |
COPYRIGHT_NOTICE
Copyright notice
|
static java.lang.String |
SCCSID
SCCS id - expanded when file is extracted from CMVC
|
VERSION
Constructor and Description |
---|
MQQmgrExtObject()
Null constructor
|
MQQmgrExtObject(MQExtObject parentObj,
java.lang.Object obj,
java.lang.String type,
java.lang.String objId,
java.lang.String objName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChannelDefinitionTable()
Return the channel definition table being used by Explorer to connect to this queue manager.
|
java.lang.String |
getChannelDefintionTable()
Deprecated.
|
java.lang.String |
getChannelName()
Return the channel name being used by Explorer to connect to this queue manager.
|
int |
getCommandLevel()
Get the command level of the Queue Manager
|
java.lang.String |
getConnectionName()
Return the connection name being used by Explorer to connect to this queue manager.
|
java.lang.String[] |
getConnectionNames()
Get the list of connection names being used by Explorer to connect to this queue manager.
|
int |
getConnectionType()
Return the type of connection that Explorer is using to this queue manager.
|
java.lang.String |
getHostName()
Return the host name being used by Explorer to connect to this queue manager.
|
com.ibm.mq.MQQueueManager |
getMQQueueManager()
Return a MQQueueManager connection to this queue manager.
|
int |
getPlatform()
Get the platform of the machine running the Queue Manager
|
int |
getPortAddress()
Return the port address being used by Explorer to connect to this queue manager.
|
java.lang.String |
getUuid()
Get the UUID of the Queue Manager
|
java.lang.String |
getViaCommandQueueName()
Return the via command queue name being used by Explorer to connect to this queue manager.
|
java.lang.String |
getViaQueueManagerName()
Return the via queue manager name being used by Explorer to connect to this queue manager.
|
boolean |
isClient()
Is the queue manager a client connection?
|
boolean |
isConnected()
Is the queue manager connected?
|
boolean |
isLocal()
Return whether this queue manager is local
|
boolean |
isRemote()
Return whether this queue manager is remote
|
boolean |
isStandby()
Return whether this queue manager is a standby instance, i.e.
|
boolean |
isStarted()
Return whether this queue manager is started.
|
boolean |
isStartedWithPermitStandby()
Determine whether this queue manager was started with the "-x" option.
|
boolean |
isVisible()
Return whether this queue manager is currently visible (not hidden) in MQ Explorer
|
boolean |
testAttribute(java.lang.Object target,
java.lang.String name,
java.lang.String value)
test an attribute of the supplied object
|
addObjectChangedListener, addObjectDeletedListener, getInstanceId, getInternalDataObject, getInternalObject, getMqType, getName, getObjectChangedListenerCount, getObjectDeletedListenerCount, getObjectId, getParent, objectChanged, objectDeleted, removeObjectChangedListener, removeObjectDeletedListener, setInternalDataObject, setInternalObject, setName, toString
public static final java.lang.String SCCSID
public static final java.lang.String COPYRIGHT_NOTICE
public static final int CONNECTION_TYPE_NOT_AVAILABLE
public static final int CONNECTION_TYPE_SERVER
public static final int CONNECTION_TYPE_CLIENT
public static final int CONNECTION_TYPE_CHANNEL_DEF_TABLE
public static final int CONNECTION_TYPE_VIA_CMD_Q
public static final int CONNECTION_TYPE_CLIENT_MULTI_INSTANCE
public MQQmgrExtObject()
public MQQmgrExtObject(MQExtObject parentObj, java.lang.Object obj, java.lang.String type, java.lang.String objId, java.lang.String objName)
objName
- Name of the objectobjId
- Object IDtype
- object typeobj
- instance objectparentObj
- parent MQExtObjectpublic int getCommandLevel()
public boolean isConnected()
public boolean isClient()
public int getPlatform()
public java.lang.String getUuid()
public int getConnectionType()
CONNECTION_TYPE_SERVER
uses local bindings
CONNECTION_TYPE_CLIENT
can use getConnectionName()
,
getHostName()
, getPortAddress()
, and getChannelName()
CONNECTION_TYPE_CHANNEL_DEF_TABLE
can use getChannelDefinitionTable()
CONNECTION_TYPE_VIA_CMD_Q
can use getViaQueueManagerName()
and
getViaCommandQueueName()
CONNECTION_TYPE_CLIENT_MULTI_INSTANCE
can use getConnectionName()
,
getConnectionNames()
, getHostName()
, getPortAddress()
and
getChannelName()
public java.lang.String getConnectionName()
public java.lang.String[] getConnectionNames()
null
if not a client connectionpublic java.lang.String getHostName()
public int getPortAddress()
public java.lang.String getChannelName()
public java.lang.String getChannelDefintionTable()
getChannelDefinitionTable()
public java.lang.String getChannelDefinitionTable()
public java.lang.String getViaQueueManagerName()
public java.lang.String getViaCommandQueueName()
public com.ibm.mq.MQQueueManager getMQQueueManager()
public boolean testAttribute(java.lang.Object target, java.lang.String name, java.lang.String value)
com.ibm.mq.explorer.ui.internal.objects.MQExtObjectBase
testAttribute
in interface org.eclipse.ui.IActionFilter
testAttribute
in class MQExtObject
target
- Target objectname
- Name of the parametervalue
- Value to testpublic boolean isVisible()
public boolean isLocal()
public boolean isRemote()
public boolean isStarted()
public boolean isStartedWithPermitStandby()
public boolean isStandby()