mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-23 06:29:10 +00:00
Rename AnnotationHttpServiceRegistrar
Align with the name of the import annotation. In preparation of adding a client annotation with another registrar. See gh-35244
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ import java.util.Set;
|
||||
public interface HttpServiceGroup {
|
||||
|
||||
/**
|
||||
* The name of the group to add HTTP Services to when a group isn't specified.
|
||||
* The name of the default group to add HTTP Services to when a group is not specified.
|
||||
*/
|
||||
String DEFAULT_GROUP_NAME = "default";
|
||||
|
||||
|
||||
+2
-2
@@ -53,7 +53,7 @@ import org.springframework.web.service.annotation.HttpExchange;
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@Repeatable(ImportHttpServices.Container.class)
|
||||
@Import(AnnotationHttpServiceRegistrar.class)
|
||||
@Import(ImportHttpServicesRegistrar.class)
|
||||
public @interface ImportHttpServices {
|
||||
|
||||
/**
|
||||
@@ -106,7 +106,7 @@ public @interface ImportHttpServices {
|
||||
@Target(ElementType.TYPE)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@Import(AnnotationHttpServiceRegistrar.class)
|
||||
@Import(ImportHttpServicesRegistrar.class)
|
||||
@interface Container {
|
||||
|
||||
ImportHttpServices[] value();
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ import org.springframework.core.type.AnnotationMetadata;
|
||||
* @author Olga Maciaszek-Sharma
|
||||
* @since 7.0
|
||||
*/
|
||||
class AnnotationHttpServiceRegistrar extends AbstractHttpServiceRegistrar {
|
||||
class ImportHttpServicesRegistrar extends AbstractHttpServiceRegistrar {
|
||||
|
||||
@Override
|
||||
protected void registerHttpServices(GroupRegistry registry, AnnotationMetadata metadata) {
|
||||
Reference in New Issue
Block a user