public interface DesktopCache
Modifier and Type | Method and Description |
---|---|
void |
addDesktop(Desktop desktop)
Adds a desktop to this session.
|
Desktop |
getDesktop(java.lang.String desktopId)
Returns the desktop for the specified desktop ID.
|
Desktop |
getDesktopIfAny(java.lang.String desktopId)
Returns the desktop for the specified desktop ID, or null if not found.
|
int |
getNextKey()
Deprecated.
since 9.6.0 due to the predictable result.
|
void |
removeDesktop(Desktop desktop)
Removes a desktop from this session.
|
void |
sessionDidActivate(Session sess)
Notification that the session has just been activated
(a.k.a., deserialized).
|
void |
sessionWillPassivate(Session sess)
Notification that the session is about to be passivated
(a.k.a., serialized).
|
void |
stop()
Called when to stop and cleanup this cache.
|
@Deprecated int getNextKey()
Desktop
uses this method to generate ID automatically.
Desktop getDesktop(java.lang.String desktopId)
ComponentNotFoundException
- is thrown if the desktop
is not foundDesktop getDesktopIfAny(java.lang.String desktopId)
void addDesktop(Desktop desktop)
Application shall never access this method.
void removeDesktop(Desktop desktop)
Application shall never access this method.
void sessionWillPassivate(Session sess)
void sessionDidActivate(Session sess)
void stop()
DesktopCacheProvider
.Copyright © 2005-2023 Potix Corporation. All Rights Reserved.