Bug #116 (closed)
Opened 18 years ago
Closed 18 years ago
OmeroContext needs refreshAll method
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | trivial | Cc: | |
Sprint: | n.a. | ||
Total Remaining Time: | n.a. |
Description
Refreshing the static instances available from OmeroContext#getXYZInstance() methods is not immediately clear. Calling ConfigurableApplicationContext#refresh?() refreshes only the last context in the hierarchy. #refreshAll() should walk the graph and refresh the most distant ancestor first.
Change History (2)
comment:1 Changed 18 years ago by jmoore
- Keywords changed from spring to spring,iteration3
- Status changed from new to assigned
comment:2 Changed 18 years ago by jmoore
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
refreshAll implemented in r709.
It walks the context parentage hierarchy and calls refresh() on the deepest (most ancestral) contex first. The walk stops at the first non-ConfigurableApplicationContext-typed context found.
Tests for this and various other OmeroContext aspects were also added to /common.