Mercurial > dive4elements > gnv-client
view geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/QueryExecutorFactory.java @ 132:5a583cff97ea
Implementation of the Datainfrastructure for fetching Data from different DataStores.
geo-backend/trunk@12 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 04 Sep 2009 08:11:30 +0000 |
parents | |
children | 3cbf11c67fdc |
line wrap: on
line source
/** * */ package de.intevation.gnv.geobackend.base.query; import org.apache.log4j.Logger; /** * @author Tim Englich <tim.englich@intevation.de> * */ public class QueryExecutorFactory { /** * the logger, used to log exceptions and additonaly information */ private static Logger log = Logger.getLogger(QueryExecutorFactory.class); /** * The singleton Instance of this Factory. */ private static QueryExecutorFactory instance = null; /** * Basic-Constructor of this Class */ private QueryExecutorFactory() { super(); } /** * This Method provides an singleton Instance of this Class. * @return an singleton Instance of this Class */ public static QueryExecutorFactory getInstance(){ if (instance == null){ instance = new QueryExecutorFactory(); } return instance; } /** * Getting the QueryExecutor * @return the QueryExecutor */ public QueryExecutor getQueryExecutor(){ return new DefaultQueryExceutor(); } }