-
Notifications
You must be signed in to change notification settings - Fork 0
About Reloadable Infection
rrowlands edited this page Oct 29, 2019
·
1 revision
In our code you'll notice all of our classes implement the Reloadable interface. This is a requirement of our runtime classloader. If you create a new class, and it does not implement Reloadable, you will run into a ClassCastException error at runtime where it tries to cast a class to itself. For example:
GeoEntity cannot be cast to GeoEntity
You can use this regex:
^.*(?:class|interface).implements((?!Reloadable).)$
and search through the codebase to find all classes that are not reloadable. One limitation of this regex is that if the class definition spans multiple lines it will not work, so its not perfect, but if you're scratching your head trying to find out what class doesn't implement Reloadable this can be helpful.
- Creating a New Installation
- Basic Server Maintenance
- Setting up a Development Environment
- Building the DDMS
- Notes about properties files
- Geoprism BIRT Javascript
- Offline Basemap Management
- DHIS2 Environment Setup
- HTTPS Setup with Lets Encrypt
- Google Tag Manager Setup
- ODK Environment Setup
- How Grids Work
- IRS And Query Builders
- Runway Metadata Update Process
- About Merg Form
- About Reloadable Infection