Websphere MQ Everyplace

examples.install
Class GetCredentials

java.lang.Object
  |
  +--examples.install.GetCredentials

public class GetCredentials
extends java.lang.Object


Field Summary
static short[] version
           
 
Constructor Summary
GetCredentials(MQeFields configParms)
          GetCredentials constructor.
GetCredentials(java.lang.String configFile)
          GetCredentials constructor.
 
Method Summary
 examples.install.GetCredentials.configGCFrame buildFrame(boolean full)
          buildFrame - build the GUI Frame and populate it.
 boolean confirmDetails()
          confirmDetails - display the details and seek confirmation.
static void main(java.lang.String[] args)
          Start the application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

public static short[] version
Constructor Detail

GetCredentials

public GetCredentials(java.lang.String configFile)
GetCredentials constructor. Construct the frame to collect the user input, and show it. This constructor takes a filename as parameter. In this case we prompt for user for a PIN etc, and perform more checks.

Parameters:
configFile - Name of the configuration file; can be null

GetCredentials

public GetCredentials(MQeFields configParms)
GetCredentials constructor. Construct the frame to collect the user input, and show it. This constructor takes a MQeFields object as parameter. In this case we trust the information in the fields object and perform fewer checks.

Method Detail

buildFrame

public examples.install.GetCredentials.configGCFrame buildFrame(boolean full)
buildFrame - build the GUI Frame and populate it. This uses a configQMFrame, which is an AwtFrame extended with an Action routine. It is defined in an inner class.

Parameters:
full - If true, build a complete frame, otherwise build a cut-down frame.
Returns:
The built frame.

confirmDetails

public boolean confirmDetails()
confirmDetails - display the details and seek confirmation.

Returns:
'true' if the user confirms, 'false' otherwise

main

public static void main(java.lang.String[] args)
Start the application.


Websphere MQ Everyplace