org.javers.core.json.typeadapter.change.ChangeTypeAdaptersModule Maven / Gradle / Ivy
package org.javers.core.json.typeadapter.change;
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 ChangeTypeAdaptersModule extends InstantiatingModule {
public ChangeTypeAdaptersModule(MutablePicoContainer container) {
super(container);
}
@Override
protected Collection getImplementations() {
return (Collection) Lists.asList(
MapChangeTypeAdapter.class,
ArrayChangeTypeAdapter.class,
ListChangeTypeAdapter.class,
SetChangeTypeAdapter.class,
NewObjectTypeAdapter.class,
ValueChangeTypeAdapter.class,
ObjectRemovedTypeAdapter.class,
ChangeTypeAdapter.class,
ReferenceChangeTypeAdapter.class
);
}
}