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

com.idefav.context.ContextWrapSupport Maven / Gradle / Ivy

package com.idefav.context;

import com.idefav.wrap.spi.WrapSupport;

import java.util.concurrent.Callable;

/**
 * the ContextWrapSupport description.
 *
 * @author wuzishu
 */
public class ContextWrapSupport implements WrapSupport {
    @Override
    public Runnable wrap(Runnable runnable) {
        return Context.current().wrap(runnable);
    }

    @Override
    public  Callable wrap(Callable callable) {
        return Context.current().wrap(callable);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy