def __init__(self): try: from org.geoserver.platform import GeoServerExtensions except ImportError: pass else: self._geoserver = GeoServerExtensions.bean('geoServer')
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')