@Bean
    @ConditionalOnMissingBean(ArmeriaServerSmartLifecycle.class)
    public SmartLifecycle armeriaServerGracefulShutdownLifecycle(Server server) {
        return new ArmeriaServerGracefulShutdownLifecycle(server);
    }
Wrap {@link Server} with {@link SmartLifecycle}.
spring/boot3-autoconfigure/src/main/java/com/linecorp/armeria/spring/AbstractArmeriaAutoConfiguration.java