org.osoa.sca
Interface ServiceReference<B>

Type Parameters:
B -
All Superinterfaces:
CallableReference<B>

public interface ServiceReference<B>
extends CallableReference<B>


Method Summary
 java.lang.Object getCallback()
          Returns the callback object.
 java.lang.Object getConversationID()
          Returns the id supplied by the user that will be associated with conversations initiated through this reference.
 void setCallback(java.lang.Object callback)
          Sets the callback object.
 void setCallbackID(java.lang.Object callbackID)
          Sets the callback ID.
 void setConversationID(java.lang.Object conversationId)
          Set the id to associate with any conversation started through this reference.
 
Methods inherited from interface org.osoa.sca.CallableReference
getBusinessInterface, getCallbackID, getConversation, getService, isConversational
 

Method Detail

getConversationID

java.lang.Object getConversationID()
Returns the id supplied by the user that will be associated with conversations initiated through this reference.

Returns:
the id supplied by the user that will be associated with conversations initiated through this reference.

setConversationID

void setConversationID(java.lang.Object conversationId)
                       throws java.lang.IllegalStateException
Set the id to associate with any conversation started through this reference. If the value supplied is null then the id will be generated by the implementation. Throws an IllegalStateException if a conversation is currently associated with this reference.

Parameters:
conversationId -
Throws:
java.lang.IllegalStateException

setCallbackID

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

Parameters:
callbackID -

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 -


Copyright © 2009. All Rights Reserved.