org.javers.core.snapshot.SnapshotModule 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.snapshot;
import org.javers.common.collections.Lists;
import org.javers.core.pico.InstantiatingModule;
import org.picocontainer.MutablePicoContainer;
import java.util.Collection;
/**
* @author bartosz walacik
*/
public class SnapshotModule extends InstantiatingModule {
public SnapshotModule(MutablePicoContainer container) {
super(container);
}
@Override
protected Collection getImplementations() {
return (Collection) Lists.asList(
SnapshotFactory.class,
ObjectHasher.class,
SnapshotDiffer.class,
SnapshotGraphFactory.class,
ChangedCdoSnapshotsFactory.class
);
}
}