source: cows/trunk/cows/service/imps/csmlbackend/__init__.py @ 6394

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cows/trunk/cows/service/imps/csmlbackend/__init__.py@6394
Revision 6394, 490 bytes checked in by pnorton, 11 years ago (diff)

Major refactoring of the wms code. the csml wms code is now based on the geoplot wms code. I've also increased the use of inheritance in the geoplot wms code to reduce duplication.

Line 
1# BSD Licence
2# Copyright (c) 2009, Science & Technology Facilities Council (STFC)
3# All rights reserved.
4#
5# See the LICENSE file in the source distribution of this software for
6# the full license text.
7
8
9from cows.service.imps.csmlbackend.csmlcommon import CSMLConnector
10
11_globalCSMLConnector = None
12
13def getGlobalCSMLConnector():
14    global _globalCSMLConnector
15   
16    if _globalCSMLConnector is None:
17        _globalCSMLConnector = CSMLConnector()
18   
19    return _globalCSMLConnector
Note: See TracBrowser for help on using the repository browser.