SCA API

org.osoa.sca
Interface ServiceReference


public interface ServiceReference

Interface that provides access to other services. Any ServiceReference can be cast to the business interface of the service to which it refers.

Version:
$Rev: 388784 $ $Date: 2006-03-25 11:34:51 -0500 (Sat, 25 Mar 2006) $

Method Summary
 void endSession()
          End the client's session with the referenced service.
 java.lang.Object getCallback()
          Returns the callback object.
 java.lang.Object getCallbackID()
          Returns the callback ID.
 java.lang.Object getSessionID()
          Returns the session ID.
 void setCallback(java.lang.Object callback)
          Sets the callback object.
 void setCallbackID(java.lang.Object callbackID)
          Sets the callback ID.
 

Method Detail

getSessionID

java.lang.Object getSessionID()
Returns the session ID.

Returns:
the session ID

endSession

void endSession()
End the client's session with the referenced service.


getCallbackID

java.lang.Object getCallbackID()
Returns the callback ID.

Returns:
the callback ID

setCallbackID

void setCallbackID(java.lang.Object callbackID)
Sets the callback ID.

Parameters:
callbackID - the callback ID

getCallback

java.lang.Object getCallback()
Returns the callback object.

Returns:
the callback object

setCallback

void setCallback(java.lang.Object callback)
Sets the callback object.

Parameters:
callback - the callback object

SCA API

-