Package org.apache.tuscany.core.context

Examples of org.apache.tuscany.core.context.Lifecycle.stop()


            return;
        }
        for(Lifecycle context: contexts.values()) {
            try {
                if (context.getLifecycleState() == RUNNING) {
                    context.stop();
                }
            } catch (CoreRuntimeException e){
                // TODO send monitoring event
            }
        }
View Full Code Here


        if (currentContexts == null) {
            return;
        }
        for (Lifecycle context : currentContexts.values()) {
            if (context.getLifecycleState() == RUNNING) {
                context.stop();
            }
        }
    }

}
View Full Code Here

          if (currentContexts == null){
             return;
          }
          for (Lifecycle context: currentContexts.values()){
              if (context.getLifecycleState() == RUNNING) {
                  context.stop();
              }
          }

      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.