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:
rstoyanchev
2025-07-30 13:27:12 +01:00
parent 4ae5d0d1fe
commit da443020e0
6 changed files with 151 additions and 102 deletions
@@ -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";
@@ -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();
@@ -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) {