#include <PersistenceConfigurationTokensHandler.h>
◆ PersistenceConfigurationTokensHandler()
Constructor.
- Parameters
-
manager | The analysis manager to configure. |
◆ HandleTokens()
bool EA::PersistenceConfigurationTokensHandler::HandleTokens |
( |
const std::vector< std::string > & |
tokens | ) |
|
|
virtual |
Handles persistence service configuration tokens.
Commands handled:
Persistence <className> <serviceName> [output] - main command: create a persistence service Book <objName> <objCategory <storeName> - sub-command: book an object for persistence objCategory can be: event pass global
PersistenceTemplate <className> <serviceName> [output] - main command: create a template persistence service Book <objName> <objCategory <storeName> - sub-command: book an object for persistence objCategory can be: event pass global
The output string for a given persistence service will be obtained also from command line parameters; if present, it will override the output string given in configuration file. The output parameter can be completely omitted (i.e. not given in configuration file nor in command line) for the PersistenceTemplate command.
- Parameters
-
tokens | The configuration tokens. |
- Returns
- false if the given token sequence is not understood and cannot be handled.
- Exceptions
-
std::logic_error | if Book command is given before Persistence. |
std::runtime_error | if any other error occurs during the handling. |
Implements EA::ConfigurationTokensHandler.
◆ _persistence
The documentation for this class was generated from the following files: