Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.db / org.gvsig.fmap.dal.db.jdbc / src / main / java / org / gvsig / fmap / dal / store / jdbc / JDBCStoreProviderFactory.java @ 44058

History | View | Annotate | Download (2.08 KB)

1 40559 jjdelcerro
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
5
 *
6 43020 jjdelcerro
 * This program is free software; you can redistribute it and/or modify it under
7
 * the terms of the GNU General Public License as published by the Free Software
8
 * Foundation; either version 3 of the License, or (at your option) any later
9
 * version.
10 40559 jjdelcerro
 *
11 43020 jjdelcerro
 * This program is distributed in the hope that it will be useful, but WITHOUT
12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14
 * details.
15 40559 jjdelcerro
 *
16 43020 jjdelcerro
 * You should have received a copy of the GNU General Public License along with
17
 * this program; if not, write to the Free Software Foundation, Inc., 51
18
 * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 40559 jjdelcerro
 *
20 43020 jjdelcerro
 * For any additional information, do not hesitate to contact us at info AT
21
 * gvsig.com, or visit our website www.gvsig.com.
22 40559 jjdelcerro
 */
23 43020 jjdelcerro
package org.gvsig.fmap.dal.store.jdbc;
24 40435 jjdelcerro
25
import org.slf4j.Logger;
26
import org.slf4j.LoggerFactory;
27
28
import org.gvsig.fmap.dal.DataParameters;
29
import org.gvsig.fmap.dal.DataStoreProvider;
30
import org.gvsig.fmap.dal.exception.InitializeException;
31
import org.gvsig.fmap.dal.feature.spi.AbstractFeatureStoreProviderFactory;
32
import org.gvsig.fmap.dal.spi.DataStoreProviderServices;
33
import org.gvsig.tools.dynobject.DynObject;
34
35 43020 jjdelcerro
public class JDBCStoreProviderFactory
36
    extends AbstractFeatureStoreProviderFactory
37
    {
38 40435 jjdelcerro
39 43020 jjdelcerro
    private static final Logger logger = LoggerFactory.getLogger(JDBCStoreProviderFactory.class);
40 42533 dmartinezizquierdo
41 43020 jjdelcerro
    protected JDBCStoreProviderFactory() {
42
        super(
43
                JDBCStoreProvider.NAME,
44
                JDBCStoreProvider.DESCRIPTION
45
        );
46 40435 jjdelcerro
    }
47 41244 jjdelcerro
48 43020 jjdelcerro
    @Override
49
    public JDBCStoreProvider createProvider(DataParameters parameters,
50
            DataStoreProviderServices providerServices)
51
            throws InitializeException {
52
        return new JDBCStoreProvider((JDBCStoreParameters) parameters, providerServices);
53 41244 jjdelcerro
    }
54 42533 dmartinezizquierdo
55 43020 jjdelcerro
    @Override
56
    public JDBCStoreParameters createParameters() {
57
        return new JDBCStoreParameters();
58 40435 jjdelcerro
    }
59 42533 dmartinezizquierdo
60 40435 jjdelcerro
}