Oracle Application Development Framework Model and Business Components Java API Reference 10g Release 3 (10.1.3)
B16005-01


oracle.svcmsg
Interface ResponseRef

All Superinterfaces:
Response, ResponseValues, java.io.Serializable
All Known Implementing Classes:
SvcMsgResponseFullRef, SvcMsgResponseRef

public interface ResponseRef
extends ResponseValues

This interface extends ResponseValues. It is used to marshal an object reference.


Method Summary
 int getRefId()
          Returns an int id that identifies the object (so-called remote object id).
 java.lang.Object getRefObject()
          Returns the actual object whose reference is being marshalled through this object.
 void setRefId(int refId)
          Sets the remote object id.
 void setRefObject(java.lang.Object obj)
          Sets the actual object whose reference is being marshalled through this object.

 

Methods inherited from interface oracle.svcmsg.ResponseValues
getBooleanValues, getIntValues, getLongValues, getObjectValues, setBooleanValues, setIntValues, setLongValues, setObjectValues

 

Methods inherited from interface oracle.svcmsg.Response
getName, getOperation

 

Method Detail

getRefId

public int getRefId()
Returns an int id that identifies the object (so-called remote object id).
Returns:
the remote object id.

setRefId

public void setRefId(int refId)
Sets the remote object id.
Parameters:
refId - the remote object id.

getRefObject

public java.lang.Object getRefObject()
Returns the actual object whose reference is being marshalled through this object. Note that this reference should be marked as a transient so that the serialization process will not try to serialize the object itself.

These getter and setter are used to hold reference to the object being marshalled.

Returns:
the object.

setRefObject

public void setRefObject(java.lang.Object obj)
Sets the actual object whose reference is being marshalled through this object. Note that this reference should be marked as a transient so that the serialization process will not try to serialize the object itself.

These getter and setter are used to hold reference to the object being marshalled.

Parameters:
obj - the object.

Oracle Application Development Framework Model and Business Components Java API Reference 10g Release 3 (10.1.3)
B16005-01


Copyright © 1997, 2005, Oracle. All rights reserved.