|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.subsystems.impl.AbstractSystemManager
com.ibm.etools.iseries.core.ISeriesSystemManager
This class is responsible for instantiating the ISystem object for iSeries subsystems. Because all iSeries subsystems for any one connection share a single ISystem instance, this class ensures only one is ever created per connection.
You must use this class exclusively for getting the ISystem object, or else call getSystem() in the subsystem objects, which are coded to call this.
Field Summary | |
---|---|
static String |
Copyright
|
Method Summary | |
---|---|
com.ibm.etools.systems.subsystems.ISystem |
createSystemObject(com.ibm.etools.systems.subsystems.SubSystem subsystem)
Return the actual ISystem object. |
Class |
getSubSystemCommonInterface(com.ibm.etools.systems.subsystems.SubSystem subsystem)
For all subsystems in a particular SystemConnection, we need to know which ones are to share a single ISystem object. |
static ISeriesSystemManager |
getTheISeriesSystemManager()
Return singleton instance of this class |
static boolean |
getUsingDataStore()
Return whether we are using datastore or using toolbox. |
static void |
setUseDataStore(boolean set)
Set whether or not we are using datastore versus toolbox for the communications. |
boolean |
sharesSystem(com.ibm.etools.systems.subsystems.SubSystem otherSubSystem)
Given another subsystem, return true if that subsystem shares a single ISystem object with this one. |
Methods inherited from class com.ibm.etools.systems.subsystems.impl.AbstractSystemManager |
---|
getSystemObject, updateSubSystems |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String Copyright
Method Detail |
public static ISeriesSystemManager getTheISeriesSystemManager()
public static void setUseDataStore(boolean set)
public static boolean getUsingDataStore()
public com.ibm.etools.systems.subsystems.ISystem createSystemObject(com.ibm.etools.systems.subsystems.SubSystem subsystem)
public Class getSubSystemCommonInterface(com.ibm.etools.systems.subsystems.SubSystem subsystem)
Whatever is returned from here is used as the key into a hashtable to find the singleton ISystem object in getSystemObject.
public boolean sharesSystem(com.ibm.etools.systems.subsystems.SubSystem otherSubSystem)
You can't assume a SystemConnection will you only have subsystems of that you created, so you should only return true if it implements your interface or you know it is an instance of your subsystem class.
This should simply return (otherSubSystem instanceof interface) where interface is the same one returned from getSubSystemCommonInterface
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |