Ticket #210 (closed enhancement: fixed)
Change managers (ie ThesaurusManager, SchemaManager...) to become singletons classes
| Reported by: | mcoudert | Owned by: | fxp |
|---|---|---|---|
| Priority: | minor | Milestone: | v2.7.0 |
| Component: | General | Version: | v2.4.3 |
| Keywords: | Cc: |
Description
Using GeoNetwork in a multiple instance context, I would like to suggest some changes on managers in order they become singletons classes. These changes allow multiple instances of Geonetwork to pool some resources such as loading schema, thesaurus management... Enclosed patch provides more information about minors changes that need to be applied to trunk to allow some manager classes to work as singleton class, with a synchronized method getInstance(). Moreover, these changes allow us to create a dedicated SchemaManager? responsible of schema loading removing some piece of code from the EditLib? class. Thanks to Jean-Pascal Boignard for this contribution.

