iSeries Remote Systems
v6.0.0

com.ibm.etools.iseries.core
Class ISeriesSubSystemHelpers

java.lang.Object
  extended bycom.ibm.etools.iseries.core.ISeriesSubSystemHelpers

public class ISeriesSubSystemHelpers
extends Object

We very often have need to quickly retrieve a subsystem or subsystem factory given any remote object. There are various ways and means of doing this, but to save the effort deciding which one to use, simply use these helpers methods.

See Also:
ISeriesAdapterHelpers

Field Summary
static String Copyright
           
 
Constructor Summary
ISeriesSubSystemHelpers()
           
 
Method Summary
static CmdSubSystem getISeriesCommandsSubSystem(com.ibm.etools.systems.model.SystemConnection connection)
          Given a system connection, return the ISeries Commands subsystem.
static CmdSubSystemFactory getISeriesCommandsSubSystemFactory()
          Return the singleton instance of the ISeries Commands subsystem factory
static AS400ifsCmdSubSystem getISeriesIFSCommandsSubSystem(com.ibm.etools.systems.model.SystemConnection connection)
          Given a system connection, return the ISeries IFS Commands subsystem.
static AS400ifsCmdSubSystemFactory getISeriesIFSCommandsSubSystemFactory()
          Return the singleton instance of the ISeries IFS Commands subsystem factory
static AS400ifsFileSubSystem getISeriesIFSFilesSubSystem(com.ibm.etools.systems.model.SystemConnection connection)
          Given a system connection, return the ISeries IFS Files subsystem.
static AS400ifsFileSubSystemFactory getISeriesIFSFilesSubSystemFactory()
          Return the singleton instance of the ISeries IFS Files subsystem factory
static JobSubSystem getISeriesJobsSubSystem(com.ibm.etools.systems.model.SystemConnection connection)
          Given a system connection, return the ISeries Jobs subsystem.
static JobSubSystemFactory getISeriesJobsSubSystemFactory()
          Return the singleton instance of the ISeries Jobs subsystem factory
static FileSubSystem getISeriesObjectsSubSystem(com.ibm.etools.systems.model.SystemConnection connection)
          Given a system connection, return the ISeries Objects subsystem.
static FileSubSystemFactory getISeriesObjectsSubSystemFactory()
          Return the singleton instance of the ISeries Objects subsystem factory
static IISeriesSubSystem getSubSystem(Object anyRemoteObject)
          Given any iSeries remote object produced by any IBM-supplied iSeries subsystem, efficiently return the subsystem which produced it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

ISeriesSubSystemHelpers

public ISeriesSubSystemHelpers()
Method Detail

getSubSystem

public static IISeriesSubSystem getSubSystem(Object anyRemoteObject)
Given any iSeries remote object produced by any IBM-supplied iSeries subsystem, efficiently return the subsystem which produced it.

Returns:
IISeriesSubSystem interface all iSeries subsystems implement. From there you can get to the world!

getISeriesObjectsSubSystem

public static FileSubSystem getISeriesObjectsSubSystem(com.ibm.etools.systems.model.SystemConnection connection)
Given a system connection, return the ISeries Objects subsystem.

Returns:
the objects subsystem for this connection. This can be cast to IISeriesSubSystem

getISeriesCommandsSubSystem

public static CmdSubSystem getISeriesCommandsSubSystem(com.ibm.etools.systems.model.SystemConnection connection)
Given a system connection, return the ISeries Commands subsystem.

Returns:
the cmds subsystem for this connection. This can be cast to IISeriesSubSystem

getISeriesJobsSubSystem

public static JobSubSystem getISeriesJobsSubSystem(com.ibm.etools.systems.model.SystemConnection connection)
Given a system connection, return the ISeries Jobs subsystem.

Returns:
the jobs subsystem for this connection. This can be cast to IISeriesSubSystem

getISeriesIFSFilesSubSystem

public static AS400ifsFileSubSystem getISeriesIFSFilesSubSystem(com.ibm.etools.systems.model.SystemConnection connection)
Given a system connection, return the ISeries IFS Files subsystem.

Returns:
the IFS files subsystem for this connection. This can be cast to IISeriesSubSystem

getISeriesIFSCommandsSubSystem

public static AS400ifsCmdSubSystem getISeriesIFSCommandsSubSystem(com.ibm.etools.systems.model.SystemConnection connection)
Given a system connection, return the ISeries IFS Commands subsystem.

Returns:
the IFS commands subsystem for this connection. This can be cast to IISeriesSubSystem

getISeriesObjectsSubSystemFactory

public static FileSubSystemFactory getISeriesObjectsSubSystemFactory()
Return the singleton instance of the ISeries Objects subsystem factory


getISeriesCommandsSubSystemFactory

public static CmdSubSystemFactory getISeriesCommandsSubSystemFactory()
Return the singleton instance of the ISeries Commands subsystem factory


getISeriesJobsSubSystemFactory

public static JobSubSystemFactory getISeriesJobsSubSystemFactory()
Return the singleton instance of the ISeries Jobs subsystem factory


getISeriesIFSFilesSubSystemFactory

public static AS400ifsFileSubSystemFactory getISeriesIFSFilesSubSystemFactory()
Return the singleton instance of the ISeries IFS Files subsystem factory


getISeriesIFSCommandsSubSystemFactory

public static AS400ifsCmdSubSystemFactory getISeriesIFSCommandsSubSystemFactory()
Return the singleton instance of the ISeries IFS Commands subsystem factory


iSeries Remote Systems
v6.0.0

Copyright © 2005 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.