Java 类org.springframework.boot.context.properties.DeprecatedConfigurationProperty 实例源码

项目:Spring-Boot-Examples    文件:CustomProperties.java   
@DeprecatedConfigurationProperty(replacement = "custom.connection.address")
@Deprecated
public String getServer() {
    return getAddress();
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:ActiveMQProperties.java   
/**
 * Get if pooling is enabled.
 * @return if pooling is enabled
 * @deprecated as of 1.4 in favor of "spring.activemq.pool.enabled"
 */
@Deprecated
@DeprecatedConfigurationProperty(replacement = "spring.activemq.pool.enabled")
public boolean isPooled() {
    return getPool().isEnabled();
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:JacksonProperties.java   
@Deprecated
@DeprecatedConfigurationProperty(reason = "ObjectMapper.setSerializationInclusion was deprecated in Jackson 2.7", replacement = "spring.jackson.default-property-inclusion")
public JsonInclude.Include getSerializationInclusion() {
    return getDefaultPropertyInclusion();
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:JpaProperties.java   
@Deprecated
@DeprecatedConfigurationProperty(replacement = "spring.jpa.hibernate.naming.strategy")
public String getNamingStrategy() {
    return getNaming().getStrategy();
}
项目:spring-boot-concourse    文件:ActiveMQProperties.java   
/**
 * Get if pooling is enabled.
 * @return if pooling is enabled
 * @deprecated as of 1.4 in favor of "spring.activemq.pool.enabled"
 */
@Deprecated
@DeprecatedConfigurationProperty(replacement = "spring.activemq.pool.enabled")
public boolean isPooled() {
    return getPool().isEnabled();
}
项目:spring-boot-concourse    文件:JacksonProperties.java   
@Deprecated
@DeprecatedConfigurationProperty(reason = "ObjectMapper.setSerializationInclusion was deprecated in Jackson 2.7", replacement = "spring.jackson.default-property-inclusion")
public JsonInclude.Include getSerializationInclusion() {
    return getDefaultPropertyInclusion();
}
项目:spring-boot-concourse    文件:JpaProperties.java   
@Deprecated
@DeprecatedConfigurationProperty(replacement = "spring.jpa.hibernate.naming.strategy")
public String getNamingStrategy() {
    return getNaming().getStrategy();
}
项目:contestparser    文件:ServerProperties.java   
/**
 * Get the session timeout.
 * @return the session timeout
 * @deprecated since 1.3.0 in favor of {@code session.timeout}.
 */
@Deprecated
@DeprecatedConfigurationProperty(replacement = "server.session.timeout")
public Integer getSessionTimeout() {
    return this.session.getTimeout();
}
项目:contestparser    文件:ServerProperties.java   
/**
 * Specify if access log is enabled.
 * @return {@code true} if access log is enabled
 * @deprecated since 1.3.0 in favor of {@code server.tomcat.accesslog.enabled}
 */
@Deprecated
@DeprecatedConfigurationProperty(replacement = "server.tomcat.accesslog.enabled")
public boolean getAccessLogEnabled() {
    return this.accesslog.isEnabled();
}
项目:contestparser    文件:ServerProperties.java   
/**
 * Get the format pattern for access logs.
 * @return the format pattern for access logs
 * @deprecated since 1.3.0 in favor of {@code server.tomcat.accesslog.pattern}
 */
@Deprecated
@DeprecatedConfigurationProperty(replacement = "server.tomcat.accesslog.pattern")
public String getAccessLogPattern() {
    return this.accesslog.getPattern();
}
项目:contestparser    文件:ServerProperties.java   
/**
 * Get the format pattern for access logs.
 * @return the format pattern for access logs
 * @deprecated since 1.3.0 in favor of {@code server.undertow.accesslog.pattern}
 */
@Deprecated
@DeprecatedConfigurationProperty(replacement = "server.undertow.accesslog.pattern")
public String getAccessLogPattern() {
    return this.accesslog.getPattern();
}
项目:contestparser    文件:ServerProperties.java   
/**
 * Specify if access log is enabled.
 * @return {@code true} if access log is enabled
 * @deprecated since 1.3.0 in favor of {@code server.undertow.accesslog.enabled}
 */
@Deprecated
@DeprecatedConfigurationProperty(replacement = "server.undertow.accesslog.enabled")
public boolean isAccessLogEnabled() {
    return this.accesslog.isEnabled();
}
项目:contestparser    文件:ServerProperties.java   
/**
 * Get the access log directory.
 * @return the access log directory
 * @deprecated since 1.3.0 in favor of {@code server.undertow.accesslog.dir}
 */
@Deprecated
@DeprecatedConfigurationProperty(replacement = "server.undertow.accesslog.dir")
public File getAccessLogDir() {
    return this.accesslog.getDir();
}
项目:spring-cloud-config    文件:ConfigClientProperties.java   
@DeprecatedConfigurationProperty(reason = "replaced by headers", replacement = "headers")
@Deprecated
public String getAuthorization() {
    return this.authorization;
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:ServerProperties.java   
/**
 * Get the max http header size.
 * @return the max http header size.
 * @deprecated as of 1.4 in favor of
 * {@link ServerProperties#getMaxHttpHeaderSize()}
 */
@Deprecated
@DeprecatedConfigurationProperty(replacement = "server.max-http-header-size")
public int getMaxHttpHeaderSize() {
    return this.maxHttpHeaderSize;
}
项目:spring-boot-concourse    文件:ServerProperties.java   
/**
 * Get the max http header size.
 * @return the max http header size.
 * @deprecated as of 1.4 in favor of
 * {@link ServerProperties#getMaxHttpHeaderSize()}
 */
@Deprecated
@DeprecatedConfigurationProperty(replacement = "server.max-http-header-size")
public int getMaxHttpHeaderSize() {
    return this.maxHttpHeaderSize;
}