User Story #148 (closed)
Opened 18 years ago
Closed 18 years ago
OmeroContext and ServiceFactory should support non-static variants.
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | Milestone: | 3.0-M2 |
Component: | Configuration | Keywords: | iteration3 |
Cc: | cxallan, bwzloranger | Story Points: | n.a. |
Sprint: | n.a. | Importance: | n.a. |
Total Remaining Time: | n.a. | Estimated Remaining Time: | n.a. |
Description
#68 showed an issue with the login infrastructure, specifically that the static System.getProperties() were not enough as soon as one wants to connect to multiple Omero instances. r665 contains a preliminary version of how to do this. This is a pre-requisite for cleanly (i.e. easily) testing #52 from the client side.
Change History (1)
comment:1 Changed 18 years ago by jmoore
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Supported by r704 and r705. ServiceFactory.java constructors are provided which take either a Login.java instance of a java.util.Properties instance. There are also direct methods on OmeroContext.java
The instance that is returned is not cached in any way. The client is responsible for preventing its garbage collection.