icu.easyj.spring.boot.env.enhanced.EasyjFunctionPropertySource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of easyj-spring-boot-environment-enhanced Show documentation
Show all versions of easyj-spring-boot-environment-enhanced Show documentation
EasyJ SpringBoot项目,环境配置能力增强,提供约定配置目录、工具型配置源等等。
The newest version!
/*
* Copyright 2021-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package icu.easyj.spring.boot.env.enhanced;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import cn.hutool.core.util.StrUtil;
import icu.easyj.core.code.analysis.CodeAnalysisResult;
import icu.easyj.core.code.analysis.CodeAnalysisUtils;
import icu.easyj.core.exception.AnalysisException;
import icu.easyj.core.exception.ConfigurationException;
import icu.easyj.core.util.StringUtils;
import icu.easyj.spring.boot.StarterConstants;
import icu.easyj.spring.boot.env.enhanced.util.ClassPropertyUtils;
import icu.easyj.spring.boot.env.enhanced.util.CryptoPropertyUtils;
import icu.easyj.spring.boot.env.enhanced.util.NetPropertyUtils;
import icu.easyj.spring.boot.env.enhanced.util.RandomPropertyUtils;
import icu.easyj.spring.boot.env.enhanced.util.TimePropertyUtils;
import org.apache.commons.lang3.ArrayUtils;
import org.springframework.core.env.PropertySource;
import org.springframework.lang.Nullable;
/**
* 函数式配置源
*
* @author wangliang181230
*/
public class EasyjFunctionPropertySource extends PropertySource
© 2015 - 2025 Weber Informatics LLC | Privacy Policy