public void setClusterNamespace(String value) { Connection connection = getConnection(); if (connection != null) { Map<String, Object> properties = connection.getExtendedProperties(); Object old = properties.get(ICommonAttributes.CLUSTER_NAMESPACE_KEY); connection.setExtendedProperty(ICommonAttributes.CLUSTER_NAMESPACE_KEY, value); firePropertyChange(PROP_CLUSTER_NAMESPACE, old, value); } }
public void setRegistryURL(String value) { Connection connection = getConnection(); if (connection != null) { Map<String, Object> properties = connection.getExtendedProperties(); Object old = properties.get(ICommonAttributes.IMAGE_REGISTRY_URL_KEY); connection.setExtendedProperty(ICommonAttributes.IMAGE_REGISTRY_URL_KEY, value); firePropertyChange(PROP_REGISTRY_URL, old, value); } }