I have no clue what you try to achieve... or what the errors are (it does not work is no error).... please be more specific, preferably with a unit test that demonstrates the problem
Thanks Kukeltje, it wasn't written very clear.
So the default access to fields of TaskControllerHandler is bean (set method/setter, e.g. for field persistenVariables it is method setPersistentVariables) in ActionHandler the default access is direct to field (e.g. for field persistenVariables is access field directly which avoids method setPersistentVariables if any). But if I use config-type="bean" ActionHandler works as TaskControllerHandler.
Hope, this was easier to understand. But I already solved it:)