Example #1
0
 def __init__(self):
     try:
         from org.geoserver.platform import GeoServerExtensions
     except ImportError:
         pass
     else:
         self._geoserver = GeoServerExtensions.bean('geoServer')
Example #2
0
 def __init__(self):
     try:
         from org.geoserver.platform import GeoServerExtensions
         from org.geoserver.catalog import CatalogBuilder
     except ImportError:
         pass
     else:
         self._catalog = GeoServerExtensions.bean('catalog')
Example #3
0
 def __init__(self):
    try:
      from org.geoserver.platform import GeoServerExtensions
      from org.geoserver.catalog import CatalogBuilder
    except ImportError:
      pass
    else:
      self._catalog = GeoServerExtensions.bean('catalog')