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

org.javers.core.pico.AddOnsModule Maven / Gradle / Ivy

There is a newer version: 7.6.1
Show newest version
package org.javers.core.pico;

import org.picocontainer.MutablePicoContainer;

import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

public class AddOnsModule extends InstantiatingModule{
    private final Set implementations;

    public AddOnsModule(MutablePicoContainer container, Collection implementations) {
        super(container);
        this.implementations = new HashSet<>(implementations);
    }

    @Override
    public Collection getImplementations() {
        return Collections.unmodifiableSet(implementations);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy