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"

Task #314 (new)

Opened 18 years ago

Last modified 16 years ago

Permit generic lookup of services from ServiceFactory — at Initial Version

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: 3.0-M3
Component: Configuration Version: 3.0-M3
Keywords: spring,jndi,services Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

All lookup methods in ServiceFactory delegate to the method getServiceByClass(Class<? extends ServiceInterface>). This could be made public so that new service additions do not require an update to ServiceFactory.

Further, if the Spring lookup fails, an attempt to locate "omero/remote/<class name>" or "omero/local/<class name>" in JNDI could be made. (Also, document these JNDI names and perhaps add an config object like Server & Login)

Change History (0)

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.63453 sec.)

We're Hiring!