|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mqe.MQe | +--com.ibm.mqe.MQeFields | +--com.ibm.mqe.MQeMsgObject | +--com.ibm.mqe.MQeAdminMsg | +--com.ibm.mqe.mqbridge.MQeBridgeResourceAdminMsg | +--com.ibm.mqe.mqbridge.MQeMQBridgesAdminMsg
Used to encapsulate an administration command that acts on the MQeMQBridges object.
This message is created by the application doing the administration.
Properties of the bridges resource | |
---|---|
Field name | Actions using these fields |
MQeCharacteristicLabels.MQE_FIELD_LABEL_RUN_STATE |
MQeAdminMsg.Action_Inquire |
MQeCharacteristicLabels.MQE_FIELD_LABEL_CHILDREN |
MQeAdminMsg.Action_Inquire |
You cannot use the MQeAdminMsg.Action_Delete
or MQeAdminMsg.Action_Create
actions with
this type of bridge resource, as nothing concerning this resource is persisted.
MQeMQBridges
Field Summary |
Fields inherited from class com.ibm.mqe.MQeAdminMsg |
Action_AddAlias, Action_Create, Action_Delete, Action_Inquire, Action_InquireAll, Action_RemoveAlias, Action_Start, Action_Stop, Action_Unknown, Action_Update, Admin_Action, Admin_Class, Admin_Errors, Admin_MaxAttempts, Admin_Name, Admin_Parms, Admin_RC, Admin_Reason, Admin_TargetQMgr, RC_Fail, RC_Mixed, RC_Success |
Fields inherited from class com.ibm.mqe.MQeFields |
ArraySeparator, TypeArrayElements, TypeAscii, TypeBoolean, TypeByte, TypeDouble, TypeFields, TypeFloat, TypeInt, TypeLong, TypeShort, TypeUnicode, TypeUnTyped |
Constructor Summary | |
MQeMQBridgesAdminMsg()
This simple constructor creates and initializes a default MQeMQBridgesAdminMsg. |
|
MQeMQBridgesAdminMsg(boolean affectChildren)
This constructor includes a flag to determine whether children should be affected by the administration commands. |
Method Summary | |
MQeFields |
characteristics()
Creates an MQeFields object containing all the fields required for an administration message of this type. |
java.lang.String |
getName()
Gets the name of the administered object to be created. |
Methods inherited from class com.ibm.mqe.mqbridge.MQeBridgeResourceAdminMsg |
start, start, start, stop, stop |
Methods inherited from class com.ibm.mqe.MQeAdminMsg |
create, delete, duplicate, getAction, getErrorFields, getFieldInError, getInputFields, getMaxAttempts, getOutputFields, getRC, getReason, getTargetQMgr, inquire, inquireAll, setAction, setMaxAttempts, setName, setTargetQMgr, update |
Methods inherited from class com.ibm.mqe.MQeMsgObject |
getMsgUIDFields, getOriginQMgr, getTimeStamp, putOriginQMgr, resetMsgUIDFields, unwrapMsgObject |
Methods inherited from class com.ibm.mqe.MQe |
abbreviate, alias, asciiToByte, byteToAscii, byteToHex, byteToHex, byteToInt, byteToLong, byteToShort, byteToUnicode, fileSeparator, getEventLogHandler, hexToAscii, hexToByte, intToByte, isCLDC, loadClass, loadObject, log, setEventLogHandler, setLoader, sliceByteArray, type, unicodeToByte, uniqueValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MQeMQBridgesAdminMsg() throws java.lang.Exception
This simple constructor creates and initializes a default MQeMQBridgesAdminMsg.
java.lang.Exception
MQeMQBridgesAdminMsg msg = new MQeMQBridgesAdminMsg();
public MQeMQBridgesAdminMsg(boolean affectChildren) throws java.lang.Exception
This constructor includes a flag to determine whether children should be affected by the administration commands.
affectChildren
- A boolean flag indicating whether or not this
administration message affects the children of the MQeMQBridges object.
true means it is allowed to affect the children, false indicates that the children should not be affected.
Some commands ALWAYS affect the children (Stop for example).
This flag is sometimes transferred into the MQeEvent that is sent to the bridges administered object.
java.lang.Exception
- If the field holding the affectChildren flag
cannot be created.MQeMQBridgesAdminMsg msg = new MQeMQBridgesAdminMsg(true);
Method Detail |
public MQeFields characteristics() throws java.lang.Exception
Creates an MQeFields object containing all the fields required for an administration message of this type.
Overrides characteristics() in class
MQeMQBridgeAdminMsg
.
characteristics
in class MQeBridgeResourceAdminMsg
MQeFields
object containing the characteristics
of the resource.
java.lang.Exception
- If the MQeFields
object cannot
be created.MQeMQBridgesAdminMsg msg = new MQeMQBridgesAdminMsg(true); MQeFields theseCharacteristics = msg.characteristics(); return theseCharacteristics;
public java.lang.String getName()
Gets the name of the administered object to be created.
Overrides getName() in class MQeAdminMsg
.
getName
in class MQeBridgeResourceAdminMsg
String name = null; try { MQeMQBridgesAdminMsg msg = new MQeMQBridgesAdminMsg(true); name = msg.getName(); } catch (Exception e) { System.err.println("Failure ! " + e.toString()); } return name;
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |