All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.activiti.engine.impl.delegate.AutoJavaDelegateInvocation Maven / Gradle / Ivy

The newest version!
package org.activiti.engine.impl.delegate;

import org.activiti.engine.delegate.AutoJavaDelegate;
import org.activiti.engine.delegate.DelegateExecution;

public class AutoJavaDelegateInvocation extends DelegateInvocation {

	  protected final AutoJavaDelegate delegateInstance;
	  protected final DelegateExecution execution;

	  public AutoJavaDelegateInvocation(AutoJavaDelegate delegateInstance, DelegateExecution execution) {
	    this.delegateInstance = delegateInstance;
	    this.execution = execution;
	  }

	  protected void invoke() throws Exception {
	    delegateInstance.autoexecute((DelegateExecution) execution);
	  }
	  
	  public Object getTarget() {
	    return delegateInstance;
	  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy