org.mobicents.slee.resource.lab.ra
Class MessageActivityHandle

java.lang.Object
  extended by org.mobicents.slee.resource.lab.ra.MessageActivityHandle
All Implemented Interfaces:
javax.slee.resource.ActivityHandle

public class MessageActivityHandle
extends java.lang.Object
implements javax.slee.resource.ActivityHandle

RAFActivityHandle represents the specific activity handle for RAFrame resource adaptor. According to JSLEE 1.1 specification, "an activity handle parameter is a distributable reference to an activity. The activity handle is used by the SLEE to determine the activity context that represents the underlying activity in the resource for an event to be delivered on. The resource adaptor defines the activity handle and activity assocation however this association must be a 1:1 relationship."
In the case of RAFrame, the activity handle is bound to the "dialog" which is indicated by the identifier (id) in incoming protocol messages. So, the id itself is the activity handle and is wrapped and represented through RAFActivityHandle.
For further information, please refer to JSLEE v1.1 Specification, Early Draft Review Page 314.

Author:
Michael Maretzke, amit bhayani

Constructor Summary
MessageActivityHandle(java.lang.String id)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageActivityHandle

public MessageActivityHandle(java.lang.String id)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface javax.slee.resource.ActivityHandle
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface javax.slee.resource.ActivityHandle
Overrides:
hashCode in class java.lang.Object


Copyright © 2009. All Rights Reserved.