The
TemplateService is an abstract class which can be extended by a self implemented class. This class provides functionality to:
- Set up objects that manage needs and abilities and to register these objects at the ServiceManager:
createXXXObject
- Block a Service until the whole Service is started:
blockUntilXXX
- Override declared empty methods in specific situations:
onXXX
Currently there exist implementations for C++ and Java. You can find them in
<YOUR_DWARF_DIR>dwarf/src/common
, where you will find directories for each programming language's classes.
Note that the common classes of Java get compiled in
Util.jar
.
There is a script labeled
create_files.sh
in the
<YOUR_DWARF_DIR>dwarf/src/templates
directory to create a basic setup of a service's directory structure. These scripts are useful for pure shell developpers that do not use an IDE. For further details read the README file in the directory corresponding to the programming language of your choice.
--
MarcusToennis - 02 Jan 2006