Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.util
Class AS400Factory

java.lang.Object
  extended by com.ibm.etools.iseries.util.AS400Factory

public class AS400Factory
extends Object

This is a singleton class whose sole purpose is to create the Toolbox AS400 object. Clients must use the methods in this class to first obtain the singleton instance of the factory and then create AS400 objects.


Method Summary
 AS400 getAS400()
          Returns the AS400 object using localhost for the system name, *CURRENT for the user ID, and *CURRENT for the password.
static AS400Factory getInstance()
          Returns the singleton instance of the factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static final AS400Factory getInstance()
Returns the singleton instance of the factory.

Returns:
the singleton instance of the factory.

getAS400

public AS400 getAS400()
Returns the AS400 object using localhost for the system name, *CURRENT for the user ID, and *CURRENT for the password.

Returns:
the toolbox AS400 object.

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.