@Override public void tearDown() { if (!tornDown.compareAndSet(false, true)) { return; } IServer activeCoord = clusterModel.getActiveCoordinator(); if (activeCoord != null) { activeCoord.removeClientConnectionListener(this); } clusterModel.removePropertyChangeListener(clusterListener); clusterListener.tearDown(); pagedView.removePropertyChangeListener(this); elementChooser.removeActionListener(this); synchronized (this) { appContext = null; clusterModel = null; clusterListener = null; elementChooser = null; pagedView = null; } super.tearDown(); }
@Override public void tearDown() { if (!tornDown.compareAndSet(false, true)) { return; } IServer activeCoord = clusterModel.getActiveCoordinator(); if (activeCoord != null) { activeCoord.removeClientConnectionListener(this); } clusterModel.removePropertyChangeListener(clusterListener); clusterListener.tearDown(); pagedView.removePropertyChangeListener(this); elementChooser.removeActionListener(this); synchronized (this) { appContext = null; clusterModel = null; clusterListener = null; elementChooser = null; pagedView = null; } super.tearDown(); }
@Override public void tearDown() { if (!tornDown.compareAndSet(false, true)) { return; } IServer activeCoord = clusterModel.getActiveCoordinator(); if (activeCoord != null) { activeCoord.removeClientConnectionListener(this); } clusterModel.removePropertyChangeListener(clusterListener); clusterListener.tearDown(); pagedView.removePropertyChangeListener(this); elementChooser.removeActionListener(this); synchronized (this) { appContext = null; clusterModel = null; clusterListener = null; elementChooser = null; pagedView = null; } super.tearDown(); }