com.ibm.cics.server
Class RemotableResource
java.lang.Object
|
+--com.ibm.cics.server.API
|
+--com.ibm.cics.server.Resource
|
+--com.ibm.cics.server.RemotableResource
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- com.ibm.cics.server.File, Program, StartRequest, TDQ, TSQ
- public abstract class RemotableResource
- extends Resource
- implements java.io.Serializable
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.
- See Also:
- Serialized Form
Method Summary |
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemotableResource
public RemotableResource()
- Construct a default RemotableResource.
getSysId
public java.lang.String getSysId()
- Return the name of the CICS system.
- Returns:
- the system name
setSysId
public void setSysId(java.lang.String sysId)
throws java.lang.NullPointerException,
InvalidSystemIdException
- Sets the SYSID of the remote region that really owns this resource.
- Parameters:
sysId
- the name of the CICS system- Throws:
java.lang.NullPointerException
- This exception is thrown if a
null name is supplied.InvalidSystemIdException
- This exception
is thrown if an empty SYSID is supplied.