*/
protected final void isReloadPermitted(ModuleDefinition definition) {
if (definition != null) {
if (!definition.isReloadable() && enforceReloadability) {
throw new OperationNotPermittedException("Cannot reload module as module is marked as non-reloadable");
}
}
}