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

com.codepulsar.nils.adapter.jackson.JacksonAdapterFactory Maven / Gradle / Ivy

package com.codepulsar.nils.adapter.jackson;

import java.util.List;

import com.codepulsar.nils.api.NilsConfig;
import com.codepulsar.nils.core.adapter.AdapterContext;
import com.codepulsar.nils.core.adapter.BaseAdapterFactory;
/** The factory for the {@link JacksonAdapter}. */
public class JacksonAdapterFactory extends BaseAdapterFactory {

  @Override
  protected List>> getValidAdapterConfigClasses() {
    return List.of(JacksonAdapterJsonConfig.class, JacksonAdapterYamlConfig.class);
  }

  @Override
  protected JacksonAdapter createAdapter(AdapterContext context) {
    return new JacksonAdapter(context);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy