Mercurial > dive4elements > gnv-client
view geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/QueryExecutorFactory.java @ 141:b02310d7ffee
Make Classes Serializable for Storing in ArtifactDatabase
geo-backend/trunk@131 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Thu, 24 Sep 2009 15:24:11 +0000 |
parents | 5a583cff97ea |
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(); } }