class LRUPomModelCache extends LRUCache<Module, PomModel> {

    public void invalidateProjectCache(@Observes final InvalidateDMOModuleCacheEvent event) {
        PortablePreconditions.checkNotNull("event",
                                           event);
        final Path resourcePath = event.getResourcePath();
        final KieModule module = moduleService.resolveModule(resourcePath);
        if (module != null) {
            invalidateCache(module);
        }
    }

    public  LRUPomModelCache();
    @Inject public  LRUPomModelCache(final KieModuleService moduleService);

}