public TransitionProcessor getTransitionProcessor(Transition transition) {
Assert.notNull(transitionProcessors, "transitionProcessors cannot be null");
TransitionProcessor processor = transitionProcessors.get(transition);
if (processor == null) {
throw new NoServiceException("No " + TransitionProcessor.class.getSimpleName() + " set up for transition "
+ transition);
}
return processor;
}