This occurs when multiple upstream dependencies are shared by components
. When starting the container the root upstream dependencies are started
and then all those direct downstream dependencies, leading to components
being started multiple times.
When the strolch restful classes are registered, the following API is
enabled:
strolch/inspector - overview of the realms
strolch/inspector/{realm} - ovierview of the elements in a realm
strolch/inspector/{realm}/order - overview of the orders
strolch/inspector/{realm}/resource - overview of the resources
strolch/inspector/{realm}/resource/{type} - overview of the resource
types
strolch/inspector/{realm}/order/{type} - overview of the order types
strolch/inspector/{realm}/resource/{type}/{id} - get resource overview
strolch/inspector/{realm}/order/{type}/{id} - get an order overview
Getting details of the Resources and Orders is coming next
This lead to refactoring of other code:
- removed get*Dao() from StrolchTransaction
- added StrolchTransaction.getPersistenceHandler()
- removed unused variables in TransactionalElementMap
- this lead to removal of constructors in subclasses
- added ComponentContainer.getDataStoreMode()
- added ElementMap.addAll(), removeAll() and updateAll() methods
- implemented in all ElementMap implementations
This lead to refactoring of other code:
- removed get*Dao() from StrolchTransaction
- added StrolchTransaction.getPersistenceHandler()
- removed unused variables in TransactionalElementMap
- this lead to removal of constructors in subclasses
- added ComponentContainer.getDataStoreMode()
- added ElementMap.addAll(), removeAll() and updateAll() methods
- implemented in all ElementMap implementations
This lead to refactoring of other code:
- removed get*Dao() from StrolchTransaction
- added StrolchTransaction.getPersistenceHandler()
- removed unused variables in TransactionalElementMap
- this lead to removal of constructors in subclasses
- added ComponentContainer.getDataStoreMode()
- added ElementMap.addAll(), removeAll() and updateAll() methods
- implemented in all ElementMap implementations
This lead to refactoring of other code:
- removed get*Dao() from StrolchTransaction
- added StrolchTransaction.getPersistenceHandler()
- removed unused variables in TransactionalElementMap
- this lead to removal of constructors in subclasses
- added ComponentContainer.getDataStoreMode()
- added ElementMap.addAll(), removeAll() and updateAll() methods
- implemented in all ElementMap implementations