org.javers.core.pico.AddOnsModule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javers-core Show documentation
Show all versions of javers-core Show documentation
JaVers - object auditing and diff framework for Java
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);
}
}