[538367] module factories incompletely empty cache when requested

Signed-off-by: Rob Stryker <stryker@redhat.com>
diff --git a/plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/J2EEDeployableFactory.java b/plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/J2EEDeployableFactory.java
index c8a119a..3e5758e 100644
--- a/plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/J2EEDeployableFactory.java
+++ b/plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/deployables/J2EEDeployableFactory.java
@@ -306,6 +306,12 @@
 		while(i.hasNext()) {
 			i.next().clearCache();
 		}
+		clearModuleCache();
 		modulesChanged();
 	}
+
+	@Override
+	public void clearModuleCache() {
+		clearCache(null);
+	}
 }