public abstract class RemotableResource extends Resource
This abstract class provides the common implementation for resources that can be accessed on other systems.
In addition to the properties it inherits from Resource,
this class adds the sysId property,
which is a String
which identifies the remote system on which
the resource is defined.
com.ibm.cics.server.API
for general restrictions on using the JCICS API.
,
Serialized FormConstructor and Description |
---|
RemotableResource()
Construct a default RemotableResource.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSysId()
Return the name of the CICS system.
|
void |
setSysId(java.lang.String sysId)
Sets the SYSID of the remote region that really owns this resource.
|
getDescription, getName, setDescription, setName
public RemotableResource()
public java.lang.String getSysId()
public void setSysId(java.lang.String sysId) throws java.lang.NullPointerException, InvalidSystemIdException
sysId
- the name of the CICS systemjava.lang.NullPointerException
- This exception is thrown if a
null name is supplied.InvalidSystemIdException
- This exception
is thrown if an empty SYSID is supplied.