org.javers.core.CoreJaversModule Maven / Gradle / Ivy
package org.javers.core;
import org.javers.common.collections.Lists;
import org.javers.core.json.JsonConverterBuilder;
import org.javers.core.metamodel.object.GlobalIdFactory;
import org.javers.core.pico.InstantiatingModule;
import org.picocontainer.MutablePicoContainer;
import java.util.Collection;
/**
* @author bartosz walacik
*/
public class CoreJaversModule extends InstantiatingModule {
public CoreJaversModule(MutablePicoContainer container) {
super(container);
}
@Override
protected Collection getImplementations() {
return Lists.asList(
JaversCore.class,
JsonConverterBuilder.class,
GlobalIdFactory.class
);
}
}