Package com.vaadin.hilla.engine
Interface BrowserCallableFinder
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for finding browser-callable classes. Implementations of
this interface are responsible for locating and returning a list of endpoint
classes, or throwing an exception if the search cannot be completed due to an
error.
-
Method Summary
Modifier and TypeMethodDescriptionfind
(EngineAutoConfiguration engineConfiguration) Finds and returns a list of browser-callable classes based on the provided configuration.
-
Method Details
-
find
List<Class<?>> find(EngineAutoConfiguration engineConfiguration) throws BrowserCallableFinderException Finds and returns a list of browser-callable classes based on the provided configuration.- Parameters:
engineConfiguration
- The configuration to use for finding classes.- Returns:
- A list of classes that are browser-callable.
- Throws:
BrowserCallableFinderException
- If an error occurs while finding the classes.
-