public interface SessionContext
| Modifier and Type | Method and Description |
|---|---|
void |
addSynchronizationListener(SynchronizationListener listener)
Registers a synchronization listener.
|
Object |
getAttachment(String name)
Returns an attachment of this context.
|
org.chromattic.api.ChromatticSession |
getSession()
Returns the managed chromattic session.
|
void |
setAttachment(String name,
Object payload)
Sets an attachment on this context.
|
org.chromattic.api.ChromatticSession getSession()
Object getAttachment(String name)
name - the attachment namevoid setAttachment(String name, Object payload)
name - the attachment namepayload - the attachment payloadvoid addSynchronizationListener(SynchronizationListener listener)
listener - the listenerCopyright © 2003–2020 eXo Platform SAS. All rights reserved.