Class ClientCallableAotProcessor
java.lang.Object
com.vaadin.flow.spring.springnative.ClientCallableAotProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.aot.BeanFactoryInitializationAotProcessor
public class ClientCallableAotProcessor
extends Object
implements org.springframework.beans.factory.aot.BeanFactoryInitializationAotProcessor
AOT processor that registers reflection hints for types used in
ClientCallable methods.
This processor scans component classes for methods annotated with
@ClientCallable and registers reflection hints for all types used in
their signatures. This ensures that parameter and return types can be
properly serialized and deserialized when the application runs as a native
image.
The processor handles complex generic types including parameterized types, wildcards, and type variables, recursively extracting all concrete types that require reflection access.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.beans.factory.aot.BeanFactoryInitializationAotContributionprocessAheadOfTime(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
-
Constructor Details
-
ClientCallableAotProcessor
public ClientCallableAotProcessor()
-
-
Method Details
-
processAheadOfTime
public org.springframework.beans.factory.aot.BeanFactoryInitializationAotContribution processAheadOfTime(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) - Specified by:
processAheadOfTimein interfaceorg.springframework.beans.factory.aot.BeanFactoryInitializationAotProcessor
-