Interface SessionAware
public interface SessionAware
Remote objects implementing this interface are notified when they are attached and detached
from sessions. Attachment occurs when a remote object is transported over a session for the
first time. Detachment occurs when an object is explicitly
disposed
of, or
when a session it's attached to is closed. An object can become re-attached to a session, if
it's transported over it again.-
Method Summary
-
Method Details
-
attached
Called when this object has been attached to a session and can be accessed remotely. An object can be attached to multiple sessions, and this method can be called by multiple threads concurrently. -
detached
Called when this object has been detached from a session which it was previously attached to. This method can be called by multiple threads concurrently.
-