parent
6d8f07d899
commit
02965e9744
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2012-2019 the original author or authors.
|
* Copyright 2012-2020 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -68,7 +68,7 @@ public interface AutoTimer {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Factory method to create a new {@link Builder Timer.Builder} with auto-timer
|
* Factory method to create a new {@link Builder Timer.Builder} with auto-timer
|
||||||
* settings {@link #apply(Builder) applied}.
|
* settings {@link #apply(Timer.Builder) applied}.
|
||||||
* @param name the name of the timer
|
* @param name the name of the timer
|
||||||
* @return a new builder instance with auto-settings applied
|
* @return a new builder instance with auto-settings applied
|
||||||
*/
|
*/
|
||||||
|
|
@ -78,7 +78,7 @@ public interface AutoTimer {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Factory method to create a new {@link Builder Timer.Builder} with auto-timer
|
* Factory method to create a new {@link Builder Timer.Builder} with auto-timer
|
||||||
* settings {@link #apply(Builder) applied}.
|
* settings {@link #apply(Timer.Builder) applied}.
|
||||||
* @param supplier the builder supplier
|
* @param supplier the builder supplier
|
||||||
* @return a new builder instance with auto-settings applied
|
* @return a new builder instance with auto-settings applied
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2012-2019 the original author or authors.
|
* Copyright 2012-2020 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -29,13 +29,12 @@ import org.springframework.beans.factory.support.AbstractBeanDefinition;
|
||||||
* beans). Adding an instance of this filter to the application context can be used for
|
* beans). Adding an instance of this filter to the application context can be used for
|
||||||
* these edge cases.
|
* these edge cases.
|
||||||
* <p>
|
* <p>
|
||||||
* A typical example would be something like this:
|
* A typical example would be something like this: <pre>
|
||||||
* <p>
|
|
||||||
* <pre><code>
|
|
||||||
* @Bean
|
* @Bean
|
||||||
* public static LazyInitializationExcludeFilter integrationLazyInitializationExcludeFilter() {
|
* public static LazyInitializationExcludeFilter integrationLazyInitializationExcludeFilter() {
|
||||||
* return LazyInitializationExcludeFilter.forBeanTypes(IntegrationFlow.class);
|
* return LazyInitializationExcludeFilter.forBeanTypes(IntegrationFlow.class);
|
||||||
* }</code></pre>
|
* }
|
||||||
|
* </pre>
|
||||||
* <p>
|
* <p>
|
||||||
* NOTE: Beans of this type will be instantiated very early in the spring application
|
* NOTE: Beans of this type will be instantiated very early in the spring application
|
||||||
* lifecycle so they should generally be declared static and not have any dependencies.
|
* lifecycle so they should generally be declared static and not have any dependencies.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue