public interface ServerSideToolkit
Modifier and Type | Method and Description |
---|---|
Notification |
createNotification(String type) |
ServerContext |
getContext()
Gives handlers access to the server context.
|
RemoteOddjobBean |
getRemoteBean()
Get the remote controller bean.
|
ServerSession |
getServerSession()
Get the server session.
|
void |
runSynchronized(Runnable runnable)
Used by handlers to execute functionality while
holding the resync lock.
|
void |
sendNotification(Notification notification)
Send a notification.
|
void sendNotification(Notification notification)
notification
- The notification.Notification createNotification(String type)
void runSynchronized(Runnable runnable)
runnable
- The functionality to run.ServerContext getContext()
RemoteOddjobBean getRemoteBean()
ServerSession getServerSession()