org.javers.core.commit.CommitFactoryModule 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.commit;
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 CommitFactoryModule extends InstantiatingModule {
public CommitFactoryModule(MutablePicoContainer container) {
super(container);
}
@Override
protected Collection getImplementations() {
return (Collection)Lists.asList(
CommitFactory.class,
CommitSeqGenerator.class,
CommitIdFactory.class,
DistributedCommitSeqGenerator.class
);
}
}