Package org.contextfx.components
Class Scanner
- java.lang.Object
-
- org.contextfx.components.Scanner
-
- Direct Known Subclasses:
ReactiveScanner
public class Scanner extends Object
This class scann all components- Version:
- 1.0.0
- Author:
- Ramon Rangel Osorio <ramon.rangel@protonmail.com>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Class<?>>getClasses()Retrieves the list of classes.voidscan()Scans the classes and registers them in the container based on their annotations.protected voidscanClasses(URL url, String packageName)Scans the classes in the specified URL and package name.protected voidscanClassesInJar(URL url, String packageName)Scans the classes in a Jar file for a given package name.
-
-
-
Constructor Detail
-
Scanner
public Scanner(Class<? extends javafx.application.Application> application)
-
-
Method Detail
-
scan
public void scan()
Scans the classes and registers them in the container based on their annotations.
-
getClasses
public List<Class<?>> getClasses()
Retrieves the list of classes.- Returns:
- The list of classes.
-
scanClasses
protected void scanClasses(URL url, String packageName)
Scans the classes in the specified URL and package name.- Parameters:
url- the URL to scanpackageName- the package name to scan
-
-