Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

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

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.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.81363 sec.)

We're Hiring!