}
@Override
public void resume() throws InvalidProcessStateException {
if (state != ProcessState.PAUSED) {
throw new InvalidProcessStateException(state);
}
// TODO don't distinguish between running and rollback state, each component should be able to decide
// itself (decorators must implement both methods but cannot decide, they can just forward resume())
if (!isRollbacking) {
state = ProcessState.RUNNING;