javax.slee.connection
Interface ExternalActivityHandle

All Superinterfaces:
java.io.Serializable

public interface ExternalActivityHandle
extends java.io.Serializable

A marker interface implemented by external activity handle implementations. Instances implementing this interface are returned by SleeConnection.createActivityHandle().

See Also:
SleeConnection

Method Summary
 boolean equals(java.lang.Object other)
          Compares this handle to another for equality.
 int hashCode()
          Returns a hashcode for this handle.
 

Method Detail

equals

public boolean equals(java.lang.Object other)
Compares this handle to another for equality.
Overrides:
equals in class java.lang.Object
Parameters:
other - an object to compare to
Returns:
true if other refers to an ExternalActivityHandle corresponding to the same underlying SLEE activity.
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Returns a hashcode for this handle. Implementations of ExternalActivityHandle should ensure their implementation of hashCode() is consistent with equals().
Overrides:
hashCode in class java.lang.Object
Returns:
a hashcode value consistent with equals()
See Also:
Object.hashCode()