-
Feature Request
-
Resolution: Done
-
Critical
-
6.2.0.Final
-
None
Instead of
<solutionClass>org.optaplanner.examples.cloudbalancing.domain.CloudBalance</solutionClass> <entityClass>org.optaplanner.examples.cloudbalancing.domain.CloudProcess</entityClass>
we should be able to do something like this (similar to jpa's xml):
<scanForAnnotatedClasses>true</scanForAnnotatedClasses>
or confine detection to a certain java package (would be useful for the examples and might be faster):
<scanForAnnotatedClasses>true</scanForAnnotatedClasses>
<scanForAnnotatedClassesPackageInclude>org.optaplanner.examples.cloudbalancing.domain</scanForAnnotatedClassesPackageInclude>
<scanForAnnotatedClassesPackageInclude>org.optaplanner.examples.common.domain</scanForAnnotatedClassesPackageInclude>
Maybe we should even default <scanForAnnotatedClasses> to true if no <entityClass> or <solutionClass> elements are present? Wdyt?
- is incorporated by
-
PLANNER-300 Make OptaPlanner even easier to get started with and use
- Resolved
- is related to
-
PLANNER-381 Automatic annotation scanning should reorder entityClasses based on inheritance to avoid a fail-fast
- Resolved
-
JBPM-4700 Only use org.reflections, replace scannotations usage in jbpm-kie-services with org.reflections
- Resolved