@Override
protected DataStoreFactorySpi fillStoreParams(Map<String, Serializable> params) {
DataStoreFactorySpi factory;
params.put(JDBCDataStoreFactory.DBTYPE.key, (String) PostgisNGDataStoreFactory.DBTYPE.sample);
if (CONNECTION_JNDI.equals(connectionType)) {
factory = new PostgisNGJNDIDataStoreFactory();
fillInJndiParams(params, jndiParamPanel);
}
else {
factory = new PostgisNGDataStoreFactory();