
org.activiti.engine.impl.delegate.AutoJavaDelegateInvocation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of activiti-engine Show documentation
Show all versions of activiti-engine Show documentation
workflow engine base on bboss and activiti.
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