/** * A package of the specified class will be scanned and found classes will be added to the set of bean classes for the synthetic bean archive. * * @param scanRecursively * @param packageClass * @return self */ public Weld addPackage(boolean scanRecursively, Class<?> packageClass) { packages.add(new PackInfo(packageClass, scanRecursively)); return this; }
@Override public Weld addPackages(boolean scanRecursively, Package... packages) { for (Package pack : packages) { this.packages.add(new PackInfo(pack, scanRecursively)); } return this; }
/** * A package of the specified class will be scanned and found classes will be added to the set of bean classes for the synthetic bean archive. * * @param scanRecursively * @param packageClass * @return self */ public Weld addPackage(boolean scanRecursively, Class<?> packageClass) { packages.add(new PackInfo(packageClass, scanRecursively)); return this; }
/** * Provided Packages will be scanned and found classes will be added to the set of bean classes for the synthetic bean archive. * Also allows to choose whether or not the scanning should be recursive. * * @param scanRecursively indicates whether scanning process should be recursive * @param packages Packages to be scanned * @return self */ public Weld addPackages(boolean scanRecursively, Package... packages){ for (Package pack : packages) { this.packages.add(new PackInfo(pack, scanRecursively)); } return this; }
@Override public Weld addPackages(boolean scanRecursively, Package... packages) { for (Package pack : packages) { this.packages.add(new PackInfo(pack, scanRecursively)); } return this; }
/** * A package of the specified class will be scanned and found classes will be added to the set of bean classes for the synthetic bean archive. * * @param scanRecursively * @param packageClass * @return self */ public Weld addPackage(boolean scanRecursively, Class<?> packageClass) { packages.add(new PackInfo(packageClass, scanRecursively)); return this; }
@Override public Weld addPackages(boolean scanRecursively, Package... packages) { for (Package pack : packages) { this.packages.add(new PackInfo(pack, scanRecursively)); } return this; }
/** * A package of the specified class will be scanned and found classes will be added to the set of bean classes for the synthetic bean archive. * * @param scanRecursively * @param packageClass * @return self */ public Weld addPackage(boolean scanRecursively, Class<?> packageClass) { packages.add(new PackInfo(packageClass, scanRecursively)); return this; }