*
* @return singleton LocationListener
*/
public LocationListener getListener() {
if(this.locListen == null) {
this.locListen = new LocationListener() {
public void changing(LocationEvent event) {
String url = event.location;
// Should be part of ServiceExtension extension point.
if(url.toLowerCase().indexOf("=getcapabilities") != -1 //$NON-NLS-1$
|| url.toLowerCase().indexOf("jdbc:postgis://") != -1 //$NON-NLS-1$