class WlsDomainConfig implements WlsDomain {

  @Override
  public int getReplicaLimit(String clusterName) {
    if (!getClusterConfigs().containsKey(clusterName)) {
      return 0;
    }

    return getClusterConfigs().get(clusterName).getMaxClusterSize();
  }

  public  WlsDomainConfig();
  public  WlsDomainConfig(String name);
  public  WlsDomainConfig(
      String name,
      String adminServerName,
      Map<String, WlsClusterConfig> wlsClusterConfigs,
      Map<String, WlsServerConfig> wlsServerConfigs,
      Map<String, WlsServerConfig> wlsServerTemplates,
      Map<String, WlsMachineConfig> wlsMachineConfigs);

}