
org.aspectj.util.task.MvelTimerTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aspectj-scripting Show documentation
Show all versions of aspectj-scripting Show documentation
Scripting extension for AspectJ agent. Allow java bytecode instrumentation at jvm startup
by using MVEL expression and execute code from maven artifacts
The newest version!
package org.aspectj.util.task;
import org.mvel2.integration.VariableResolverFactory;
import java.util.TimerTask;
public class MvelTimerTask extends TimerTask {
private MvelRunnable mvelRunnable;
public MvelTimerTask(String mvelScript, VariableResolverFactory variableResolverFactory) {
this.mvelRunnable = new MvelRunnable(mvelScript, variableResolverFactory);
}
@Override
public void run() {
mvelRunnable.run();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy