001 //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/tags/2.1/src/org/deegree/framework/jndi/ServiceLocator.java $
002 /*
003 * Created on 20.02.2004
004 *
005 * To change the template for this generated file go to
006 * Window>Preferences>Java>Code Generation>Code and Comments
007 */
008 package org.deegree.framework.jndi;
009
010 /**
011 * ServiceLocator
012 *
013 * @author Administrator
014 *
015 * @author last edited by: $Author: apoth $
016 *
017 * @version 2.0, $Revision: 6696 $, $Date: 2007-04-25 21:57:05 +0200 (Mi, 25 Apr 2007) $
018 *
019 * @since 2.0
020 *
021 * @see <a href="http://java.sun.com/blueprints/corej2eepatterns/Patterns/ServiceLocator.html">CapabilitiesService Locator</a>
022 */
023
024 public final class ServiceLocator {
025
026 /**
027 *
028 */
029 private static final ServiceLocator singleton = new ServiceLocator();
030
031 /**
032 * @return
033 */
034 public static final ServiceLocator getInstance() {
035 return singleton;
036 }
037
038 /**
039 *
040 */
041 private ServiceLocator(){
042
043 }
044 }