Spring @Value 默认值

    @Value(value = "${etl.maxthreadcount:3}")
    private long MaxThreadCount;

猜你喜欢

转载自www.cnblogs.com/Leechg/p/10112434.html