|
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 | +--examples.administration.console.AdminModel
Field Summary | |
protected MQeClient |
client
|
protected java.util.Vector |
msgFrames
|
protected java.beans.PropertyChangeSupport |
propertyChange
|
protected java.util.Vector |
qFrames
|
static java.lang.String |
requestQ
|
static short[] |
version
|
Constructor Summary | |
AdminModel()
AdminModel default constructor. |
Method Summary | |
void |
activate()
activate - initialisation code. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
The addPropertyChangeListener method was generated to support the propertyChange field. |
void |
checkConnected()
Ensure connection state is set correctly. |
void |
closeMsgDisplay()
Close any active msg display windows. |
void |
closeQueueDisplay()
Close any active queue browser windows. |
void |
connectLocalQM()
Connect to access the local queue manager. |
void |
disconnectLocalQM()
Disconnect from the local queue manager. |
AdminFrame |
displayMsg(MQeAdminMsg msg,
int action,
AdminFrame redisplayFrame)
Display the relavent GUI for an admin message. |
AdminQueueBrowser |
displayQueue(java.lang.String qMgrName,
java.lang.String qName,
java.lang.String browserType,
AdminQueueBrowser redisplayFrame)
Display the relavent GUI for a queue. |
void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
The firePropertyChange method was generated to support the propertyChange field. |
boolean |
getConnected()
Gets the state of the connection to the local QMgr. |
AdminLogBrowser |
getLogBrowser()
Get the log queue browser object. |
java.lang.String |
getManageQM()
Gets the name of the queue manager to be administered. |
java.lang.String |
getManageViaQM()
Gets the name of the local queue manager. |
boolean |
getMode()
Gets the mode property (boolean) value. |
protected java.beans.PropertyChangeSupport |
getPropertyChange()
Accessor for the propertyChange field. |
MQeQueueManager |
getQM()
Get a reference to the queue manager. |
java.lang.String |
getQMgrStartupIniFile()
Gets the qMgrStartupIniFile property (java.lang.String) value. |
java.lang.String |
getReplyToQ()
Gets the reply to queue name. |
java.lang.String |
getReplyToQM()
Gets the reply to queue manager name. |
java.lang.String |
getStatus()
Gets the status / last message. |
boolean |
isQMgrStarted()
Is the local queue manager started? |
boolean |
isReplyRequired()
Is a reply required ? |
void |
logMsg(MQeAdminMsg msg)
Put a message to the reply to queue manager / queue. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
The removePropertyChangeListener method was generated to support the propertyChange field. |
void |
sendRequest(MQeAdminMsg requestMsg)
Send an admin message to the queue manager to be administered. |
void |
setConnected(boolean connected)
Sets the connected property (boolean) value. |
void |
setLogBrowser(AdminLogBrowser log)
Sets the log property (Example.Admin.AdminLogModel) value. |
void |
setManageQM(java.lang.String manageQM)
Sets the manageQM property (java.lang.String) value. |
void |
setManageViaQM(java.lang.String manageViaQM)
Sets the manageViaQM property (java.lang.String) value. |
void |
setMode(boolean mode)
Sets the mode property (boolean) value. |
void |
setQMgrStartupIniFile(java.lang.String qMgrStartupIniFile)
Sets the qMgrStartupIniFile property (java.lang.String) value. |
void |
setReplyToQ(java.lang.String replyToQ)
Sets the replyToQ property (java.lang.String) value. |
void |
setReplyToQM(java.lang.String replyToQM)
Sets the replyToQM property (java.lang.String) value. |
void |
setStatus(java.lang.String status)
Sets the status property (java.lang.String) value. |
void |
startLocalQM()
Start the local queue manager. |
void |
stopLocalQM()
Stop the local queue manager. |
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static short[] version
protected transient java.beans.PropertyChangeSupport propertyChange
protected java.util.Vector msgFrames
protected java.util.Vector qFrames
protected MQeClient client
public static final java.lang.String requestQ
Constructor Detail |
public AdminModel()
Method Detail |
public void activate()
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void checkConnected()
public void closeMsgDisplay()
public void closeQueueDisplay()
public void connectLocalQM() throws java.lang.Exception
java.lang.Exception
public void disconnectLocalQM()
public AdminFrame displayMsg(MQeAdminMsg msg, int action, AdminFrame redisplayFrame) throws java.lang.Exception
java.lang.Exception
public AdminQueueBrowser displayQueue(java.lang.String qMgrName, java.lang.String qName, java.lang.String browserType, AdminQueueBrowser redisplayFrame) throws java.lang.Exception
java.lang.Exception
public void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
public boolean getConnected()
setConnected(boolean)
public AdminLogBrowser getLogBrowser()
setLogBrowser(examples.administration.console.AdminLogBrowser)
public java.lang.String getManageQM()
setManageQM(java.lang.String)
public java.lang.String getManageViaQM()
setManageViaQM(java.lang.String)
public boolean getMode()
- false: manage a local queue manager - true: manage a remote queue manager
setMode(boolean)
protected java.beans.PropertyChangeSupport getPropertyChange()
public MQeQueueManager getQM()
public java.lang.String getQMgrStartupIniFile()
setQMgrStartupIniFile(java.lang.String)
public java.lang.String getReplyToQ()
setReplyToQ(java.lang.String)
public java.lang.String getReplyToQM()
setReplyToQM(java.lang.String)
public java.lang.String getStatus()
setStatus(java.lang.String)
public boolean isQMgrStarted()
public boolean isReplyRequired()
public void logMsg(MQeAdminMsg msg) throws java.lang.Exception
java.lang.Exception
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public void sendRequest(MQeAdminMsg requestMsg) throws MQeException
MQeException
public void setConnected(boolean connected)
connected
- The new value for the property.getConnected()
public void setLogBrowser(AdminLogBrowser log)
log
- The new value for the property.getLogBrowser()
public void setManageQM(java.lang.String manageQM)
manageQM
- The new value for the property.getManageQM()
public void setManageViaQM(java.lang.String manageViaQM)
manageViaQM
- The new value for the property.getManageViaQM()
public void setMode(boolean mode)
mode
- The new value for the property.getMode()
public void setQMgrStartupIniFile(java.lang.String qMgrStartupIniFile)
qMgrStartupIniFile
- The new value for the property.getQMgrStartupIniFile()
public void setReplyToQ(java.lang.String replyToQ)
replyToQ
- The new value for the property.getReplyToQ()
public void setReplyToQM(java.lang.String replyToQM)
replyToQM
- The new value for the property.getReplyToQM()
public void setStatus(java.lang.String status)
status
- The new value for the property.getStatus()
public void startLocalQM() throws java.lang.Exception
java.lang.Exception
public void stopLocalQM()
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |