pl.bristleback.server.bristle.actions
Interface RemoteAction
public interface RemoteAction
Classes implementing this interface are used to executing user actions.
Plugin will create one instance of every action class and bind all information into RemoteActionInformation object.
This interface determines only what operations will be made. To obtain fully implemented action class,
mark that class with AnnotatedRemoteAction annotation.
Action class may be taken from Spring Framework application context. To do so,
application context must be set using SpringIntegrationUtil (standalone application)
or by adding context parameter "bristlePluginEnableSpring" with value set to "true" (web application).
For more detailed information about Spring support, please refer to SpringIntegrationUtil class documentation.
- Author:
- Wojciech Niemiec
- See Also:
AnnotatedRemoteAction
|
Method Summary |
void |
performAction(org.jwebsocket.api.WebSocketConnector connector,
org.jwebsocket.token.Token token)
Performs action requested by user/connector. |
performAction
void performAction(org.jwebsocket.api.WebSocketConnector connector,
org.jwebsocket.token.Token token)
- Performs action requested by user/connector.
- Parameters:
connector - user requesting this action.token - content of message, can be seen as action parameters.
Copyright © 2011. All Rights Reserved.