Revision 6437
Added by ben leinfelder over 12 years ago
MetaCatServlet.java | ||
---|---|---|
54 | 54 |
import edu.ucsb.nceas.metacat.database.DBConnection; |
55 | 55 |
import edu.ucsb.nceas.metacat.database.DBConnectionPool; |
56 | 56 |
import edu.ucsb.nceas.metacat.database.DatabaseService; |
57 |
import edu.ucsb.nceas.metacat.dataone.hazelcast.HazelcastService; |
|
57 | 58 |
import edu.ucsb.nceas.metacat.plugin.MetacatHandlerPlugin; |
58 | 59 |
import edu.ucsb.nceas.metacat.plugin.MetacatHandlerPluginManager; |
59 | 60 |
import edu.ucsb.nceas.metacat.properties.PropertyService; |
... | ... | |
432 | 433 |
|
433 | 434 |
// initialize the plugins |
434 | 435 |
MetacatHandlerPluginManager.getInstance(); |
436 |
|
|
437 |
// initialize the HazelcastService |
|
438 |
ServiceService.registerService("HazelcastService", HazelcastService.getInstance()); |
|
435 | 439 |
|
436 | 440 |
_fullyInitialized = true; |
437 | 441 |
|
Also available in: Unified diff
initialize Hazelcast from the custom configuration when initializing the Metacat service.