Package org.impalaframework.module

Examples of org.impalaframework.module.TransitionProcessor


      for (ModuleStateChange change : changes) {
        Transition transition = change.getTransition();
        ModuleDefinition currentModuleDefinition = change.getModuleDefinition();

        TransitionProcessor transitionProcessor = transitionProcessorRegistry.getTransitionProcessor(transition);
        transitionProcessor.process(this, transitions.getNewRootModuleDefinition(), currentModuleDefinition);
     
        if (moduleStateChangeNotifier != null) {
          moduleStateChangeNotifier.notify(this, change);
        }
      }
View Full Code Here


  private Map<Transition, TransitionProcessor> transitionProcessors = new LinkedHashMap<Transition, TransitionProcessor>();

  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);
    }
View Full Code Here

TOP

Related Classes of org.impalaframework.module.TransitionProcessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.