|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PhysicalSystemRegistry
A registry of the remote systems defined in the workspace.
| Field Summary | |
|---|---|
static String |
COPY_RIGHT
|
| Fields inherited from interface com.ibm.ftt.resources.core.physical.IPopulatorConstants |
|---|
MVSFiles |
| Method Summary | |
|---|---|
boolean |
add(IOSImage system)
Registers a system. |
boolean |
contains(IOSImage system,
int type)
Determines whether the given system is registered or not. |
IOSImage |
find(String systemName,
int type)
Find a system in this registry by name and type. |
Object[] |
getSystems(int type)
Returns an array of systems defined in the workspace. |
boolean |
remove(IOSImage system)
Removes a system from this registry. |
| Field Detail |
|---|
static final String COPY_RIGHT
| Method Detail |
|---|
Object[] getSystems(int type)
For example, registered MVS files subsystems can be obtained by the following code:
Object [] systemReferences = PhysicalSystemRegistryFactory.getSingleton()
.getSystems(IPopulatorConstants.MVSFiles);
The systemReferences contains IOSImage instances
for MVS files subsystems.
type - the type of subsystem to get. Specify a subsystem factory ID
defined in IPopulatorConstants.
IOSImage. If no system was found for the
specified type, returns an empty arrayboolean add(IOSImage system)
The system names have to be unique for a given system image type.
If a system with the same name and type already exists in this registry,
the given system is not added and returns false.
system - the system to add
true if successfully added; false
otherwiseIOSImage.equals(Object)boolean remove(IOSImage system)
system - the system to remove
true if successfully removed; false
otherwise
boolean contains(IOSImage system,
int type)
system - the system to findtype - the type of subsystem to find. Specify a subsystem factory
ID defined in IPopulatorConstants.
true if the system is registered;
false if notIOSImage.equals(Object)
IOSImage find(String systemName,
int type)
systemName - the name of the system to findtype - the type of subsystem to find. Specify a subsystem factory
ID defined in IPopulatorConstants.
IOSImage of the specified type,
or null if not found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||