Locators are now a bit different, to handle finding StrolchTimedState as
well, the Locator has the form:
Resource/<type>/<id>/State/<id>
Resource/<type>/<id>/Bag/<id>/<param_id>
Now the agent requires an environment parameter to start, and the
configuration of that environment is used to load different sections of
the configuration file
These tests are simple success tests, failure tests come later. Each
tests makes tests that the service works in CACHED, TRANSACTIONAL and
TRANSIENT data store mode.
Also cleaned up hierarchy of StrolchTransaction by moving up everything
into AbstractTransaction as made sense and added special delegation
methods for the actual commit() and rollback() ind the concrete
implementations.
Performing a Service is as simple as this:
GreetingService greetingService = new GreetingService();
GreetingArgument greetingArgument = new GreetingArgument();
greetingArgument.name = "Robert";
GreetingResult greetingResult = serviceHandler.
doService(null, greetingService, greetingArgument);
assertThat(greetingResult.getGreeting(),
containsString("Hello Robert. Nice to meet you!"));