Package com.vaadin.hilla.engine
Class AotBrowserCallableFinder
java.lang.Object
com.vaadin.hilla.engine.AotBrowserCallableFinder
Finds browser callables (endpoints) in a non-running Hilla application, using
Spring AOT to detect available beans and select those who are annotated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfind(EngineAutoConfiguration engineConfiguration) Finds the classes annotated with the endpoint annotations.
-
Constructor Details
-
AotBrowserCallableFinder
public AotBrowserCallableFinder()
-
-
Method Details
-
find
public static List<Class<?>> find(EngineAutoConfiguration engineConfiguration) throws BrowserCallableFinderException Finds the classes annotated with the endpoint annotations.- Parameters:
engineConfiguration- the engine configuration- Returns:
- the list of classes annotated with the endpoint annotations
- Throws:
BrowserCallableFinderException- if an error occurs while finding the browser callables
-