コード例 #1
0
 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);
   }
 }
コード例 #2
0
 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);
   }
 }