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

org.aspectj.util.task.MvelTimerTask Maven / Gradle / Ivy

Go to download

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