
org.slieb.soy.configuration.meta.MetaFactoriesModule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of soy-annotations Show documentation
Show all versions of soy-annotations Show documentation
Soy utilities to easily convert and and render classes with soy
templates.
The newest version!
package org.slieb.soy.configuration.meta;
import com.google.inject.AbstractModule;
import com.google.inject.multibindings.Multibinder;
import org.slieb.soy.factories.MetaConverterFactory;
import org.slieb.soy.meta.MetaConverterClassConverter;
import org.slieb.soy.meta.MetaCustomClassConverterFactory;
import static com.google.inject.multibindings.Multibinder.newSetBinder;
public class MetaFactoriesModule extends AbstractModule {
@Override
protected void configure() {
Multibinder binder = newSetBinder(binder(), MetaConverterFactory.class);
binder.addBinding().to(MetaConverterClassConverter.class);
binder.addBinding().to(MetaCustomClassConverterFactory.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy