org.isda.cdm.generators.CDMRosettaSetup Maven / Gradle / Ivy
package org.isda.cdm.generators;
import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.Provider;
import com.regnosys.rosetta.RosettaRuntimeModule;
import com.regnosys.rosetta.RosettaStandaloneSetup;
import com.regnosys.rosetta.generator.external.ExternalGenerators;
public final class CDMRosettaSetup extends RosettaStandaloneSetup {
public final class CDMRuntimeModule extends RosettaRuntimeModule {
@Override
public Class extends Provider> provideExternalGenerators() {
return DefaultExternalGeneratorsProvider.class;
}
}
@Override
public Injector createInjector() {
return Guice.createInjector(new CDMRuntimeModule());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy