Le 2016-08-27 14:45, Prince Arora a écrit :
Hi Everyone,
And also we can make it easier if we add an option register these
composites with package name. Like for entity one can give a package
name
where we can scan all the entities and register them for that module.
It is
just a suggestion though. Let me know what others think about this.
Hi Prince,
We have something to do that. It is called ClassScanner.
It allows you to declare Entities/Values etc.. in batches in your
Application assembly.
You can use it to look up all classes matching some criteria from
packages.
Have a look at ClassScannerTest, it shows how to use it.
HTH