All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.isda.cdm.generators.CDMRosettaSetup Maven / Gradle / Ivy

There is a newer version: 11.27.1
Show newest version
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> provideExternalGenerators() {
			return DefaultExternalGeneratorsProvider.class;
		}
	}

	@Override
	public Injector createInjector() {
		return Guice.createInjector(new CDMRuntimeModule());
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy