org.dominokit.jacksonapt.JacksonContextProvider Maven / Gradle / Ivy
package org.dominokit.jacksonapt;
import static java.util.Objects.isNull;
/**
* JacksonContextProvider class.
*
* @author vegegoku
* @version $Id: $Id
*/
public class JacksonContextProvider {
static JacksonContext jacksonContext;
/**
* get.
*
* @return a {@link org.dominokit.jacksonapt.JacksonContext} object.
*/
public static JacksonContext get() {
if (isNull(jacksonContext))
initContext();
return jacksonContext;
}
private static void initContext() {
jacksonContext = new ServerJacksonContext();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy