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

io.atleon.context.ContextActivatingAloDecorator Maven / Gradle / Ivy

package io.atleon.context;

import io.atleon.core.Alo;
import io.atleon.core.AloDecorator;

/**
 * An {@link AloDecorator} that decorates {@link Alo} elements with
 * {@link io.atleon.context.AloContext AloContext} activation
 *
 * @param  The type of data item exposed by decorated {@link Alo}s
 */
public class ContextActivatingAloDecorator implements AloDecorator {

    @Override
    public int order() {
        return OUTERMOST_ORDER - 3000;
    }

    @Override
    public final Alo decorate(Alo alo) {
        return ContextActivatingAlo.create(alo);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy