Annotation Interface ZosFileHandler


@Retention(RUNTIME) @Target(FIELD) public @interface ZosFileHandler
z/OS File
Annotation:
Description:
The @ZosFileHandler annotation requests the z/OS Manager to provide a handler instance to manage data sets and UNIX files on a z/OS image. A single z/OS File Handler instance can manage multiple z/OS data sets and UNIX files on multiple z/OS images.
Examples:
@ZosFileHandler
public IZosFileHandler zosFileHandler;
Extra:
The IZosFileHandler interface has three methods supplying file name and z/OS image:
IZosFileHandler.newDataset(String, dev.galasa.zos.IZosImage)
IZosFileHandler.newVSAMDataset(String, dev.galasa.zos.IZosImage)
IZosFileHandler.newUNIXFile(String, dev.galasa.zos.IZosImage)
returning an object representing the type of file requested. This can be an existing file or can be created via a method on the file object.

See ZosFileHandler, IZosFileHandler, IZosDataset, IZosVSAMDataset and IZosUNIXFile to find out more.