com.codepulsar.nils.adapter.jdbc.JdbcAdapterFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nils-jdbc-adapter Show documentation
Show all versions of nils-jdbc-adapter Show documentation
The JDBC Adapter for NILS - A Java NLS library (aka national
language support, localisation, internationalisation, i18n, l10n).
The newest version!
package com.codepulsar.nils.adapter.jdbc;
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 JdbcAdapter}. */
public class JdbcAdapterFactory extends BaseAdapterFactory {
@Override
protected List>> getValidAdapterConfigClasses() {
return List.of(JdbcAdapterConfig.class);
}
@Override
protected JdbcAdapter createAdapter(AdapterContext context) {
return new JdbcAdapter(context);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy