Polishing
This commit is contained in:
@@ -86,6 +86,11 @@ public class AnnotationBeanNameGenerator implements BeanNameGenerator {
|
||||
|
||||
private static final String COMPONENT_ANNOTATION_CLASSNAME = "org.springframework.stereotype.Component";
|
||||
|
||||
private static final Adapt[] ADAPTATIONS = Adapt.values(false, true);
|
||||
|
||||
|
||||
private static final Log logger = LogFactory.getLog(AnnotationBeanNameGenerator.class);
|
||||
|
||||
/**
|
||||
* Set used to track which stereotype annotations have already been checked
|
||||
* to see if they use a convention-based override for the {@code value}
|
||||
@@ -95,11 +100,6 @@ public class AnnotationBeanNameGenerator implements BeanNameGenerator {
|
||||
*/
|
||||
private static final Set<String> conventionBasedStereotypeCheckCache = ConcurrentHashMap.newKeySet();
|
||||
|
||||
private static final Adapt[] ADAPTATIONS = Adapt.values(false, true);
|
||||
|
||||
|
||||
private final Log logger = LogFactory.getLog(AnnotationBeanNameGenerator.class);
|
||||
|
||||
private final Map<String, Set<String>> metaAnnotationTypesCache = new ConcurrentHashMap<>();
|
||||
|
||||
|
||||
|
||||
@@ -575,16 +575,6 @@ public abstract class AbstractMessageListenerContainer extends AbstractJmsListen
|
||||
return this.errorHandler;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the {@link ObservationRegistry} used for recording
|
||||
* {@link JmsObservationDocumentation#JMS_MESSAGE_PROCESS JMS message processing observations}.
|
||||
* @since 6.1
|
||||
*/
|
||||
@Nullable
|
||||
public ObservationRegistry getObservationRegistry() {
|
||||
return this.observationRegistry;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the {@link ObservationRegistry} to be used for recording
|
||||
* {@link JmsObservationDocumentation#JMS_MESSAGE_PROCESS JMS message processing observations}.
|
||||
@@ -595,6 +585,16 @@ public abstract class AbstractMessageListenerContainer extends AbstractJmsListen
|
||||
this.observationRegistry = observationRegistry;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the {@link ObservationRegistry} used for recording
|
||||
* {@link JmsObservationDocumentation#JMS_MESSAGE_PROCESS JMS message processing observations}.
|
||||
* @since 6.1
|
||||
*/
|
||||
@Nullable
|
||||
public ObservationRegistry getObservationRegistry() {
|
||||
return this.observationRegistry;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set whether to expose the listener JMS Session to a registered
|
||||
* {@link SessionAwareMessageListener} as well as to
|
||||
|
||||
Reference in New Issue
Block a user