Package org.hive2hive.core.processes.framework.interfaces

Examples of org.hive2hive.core.processes.framework.interfaces.IProcessComponentListener


    this.handle = handle;
  }

  @Override
  protected void doExecute() throws InvalidProcessStateException, ProcessExecutionException {
    IProcessComponentListener listener = new IProcessComponentListener() {
      public void onSucceeded() {
        handle.onCompletionSuccess();
      }

      public void onFailed(RollbackReason reason) {
View Full Code Here


    ;

    // starts and rolls back itself if needed (component knows nothing about the composite of which the
    // AsyncComponent is part of)

    decoratedComponent.attachListener(new IProcessComponentListener() {

      @Override
      public void onSucceeded() {
        componentSucceeded = true;
        componentFailed = false;
View Full Code Here

TOP

Related Classes of org.hive2hive.core.processes.framework.interfaces.IProcessComponentListener

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.