Package com.vaadin.hilla.engine
Class LookupBrowserCallableFinder
java.lang.Object
com.vaadin.hilla.engine.LookupBrowserCallableFinder
Finds browser callables (endpoints) in a running Hilla application by
inspecting the classes annotated with the endpoint annotations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfind(EngineAutoConfiguration engineConfiguration) Implements theBrowserCallableFinderinterface.
-
Constructor Details
-
LookupBrowserCallableFinder
public LookupBrowserCallableFinder()
-
-
Method Details
-
find
public static List<Class<?>> find(EngineAutoConfiguration engineConfiguration) throws BrowserCallableFinderException Implements theBrowserCallableFinderinterface.- Parameters:
engineConfiguration- the engine configuration- Returns:
- the list of classes annotated with the configured annotations
- Throws:
BrowserCallableFinderException- if an error occurs while finding the browser callables
-