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

org.wildfly.clustering.context.ClassLoaderContextualizerFactory Maven / Gradle / Ivy

There is a newer version: 33.0.2.Final
Show newest version
/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package org.wildfly.clustering.context;

/**
 * {@link ContextualizerFactory} that creates a thread context class loader {@link Contextualizer}.
 * @author Paul Ferraro
 */
public class ClassLoaderContextualizerFactory implements ContextualizerFactory {

    @Override
    public Contextualizer createContextualizer(ClassLoader loader) {
        return new ContextReferenceExecutor<>(loader, ContextClassLoaderReference.INSTANCE);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy