This document outlines the steps necessary to add a new
ServerCommand for remote server administration
- Create the
ServerCommand class
- Use package
edu.ucla.loni.pipeline.server.command in the core package
- Extend from provided classes if possible
-
AbstractServerCommand
- Basic implementation of interface methods
- get/set attribute methods
-
RefreshServerCommand
- To request target data (
TARGET_ONTOLOGY, TARGET_USERGROUPS, etc.)
-
ReloadServerCommand
- To reload target data server side
-
AddEditRemoveServerCommand
- To add/edit/remove target data
- Add specific instantiation based on
Element to ServerCommandFactory.getInstance() method
- Used by
ServerCommandWrapper to instantiate the ServerCommand object
- Add specific processing of
ServerCommand in edu.ucla.loni.pipeline.server.ServerManager in server package
-
processEvent() method
--
RonNor - 30 Jan 2006