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)