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

io.jstach.rainbowgum.spring.boot.SpringBootPatternKeywordProvider Maven / Gradle / Ivy

package io.jstach.rainbowgum.spring.boot;

import io.jstach.rainbowgum.pattern.format.PatternRegistry;
import io.jstach.rainbowgum.pattern.format.spi.PatternKeywordProvider;

/*
 * Normally this is registered with the service loader
 * but we keep it boot style.
 */
class SpringBootPatternKeywordProvider extends PatternKeywordProvider {

	@Override
	protected void register(PatternRegistry patternRegistry) {
		for (var kf : SpringBootKeywordFactory.values()) {
			patternRegistry.register(kf);
		}

	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy