Removing Reflexion
Compare changes
\ No newline at end of file
On July 17th (i.e. next week), GitLab is moving to a new infrastructure and identity provider.
If you are a “guest” user, action is required. Please follow the first few steps at https://go.epfl.ch/gitlab2025 to create your new guest account at https://eduid.ch/registration and get ahead of the curve.
I removed completely reflexion from the project.
I decided that i would overwrite AppsLoader.defaultClasses
just before running the web application.
Using this object in a new file AllApps.scala :
object AllApps {
val all: List[Class[?]] = List(
classOf[_root_.apps.app10.Logic],
classOf[_root_.apps.app100.Logic],
classOf[_root_.apps.app101.Logic],...)
def register(): Unit = {
AppsLoader.defaultClasses = all
}
}
With this call in MainJVM.scala:
object MainJVM extends ApplicationJVM:
AllApps.register()
this.start()
The pipeline would be:
register
function