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.
- Timestamp:
-
07/14/06 10:22:01 (18 years ago)
- Author:
-
jmoore
- Comment:
-
r766 introduces several new fixes for this. In general, everyone should avoid looking up services (or really anything) directly from an OmeroContext and especially from the global, static OmeroContext.
Now several methods rather than taking strings take generic service interfaces if the form:
public <T extends ServiceInterface> T lookup(Class<T> klass);
This is achieved by all service beans being named "<prefix>:<interface>" where prefix is currently "managed" or "internal". There are also two ServiceFactory subclasses (InternalServiceFactory and ManagedServiceFactory) which will only return the respective services.
Legend:
- Unmodified
- Added
- Removed
- Modified
-
-
Property
Status
changed from
new
to
assigned
-
Property
Component
changed from
API
to
Configuration
-
Property
Summary
changed from
Property names should be available as fields
to
Property names and bean lookups should not be raw strings
-
Property
Version
changed from
3.0-M1
to
3.0-M2
-
Property
Milestone
changed from
to
3.0-M3
-
Property
Keywords
changed from
to
spring
-
initial
|
v4
|
|
6 | 6 | * ... |
7 | 7 | |
8 | | should be available somewhere for static checking. This needed necessarily be a single interface, but rather in some sensible location. |
| 8 | should be available somewhere for static checking. This need not necessarily be a single interface, but rather in some sensible location. |
| 9 | |
| 10 | There is a similar need for looking up services by name. |
1.3.13-PRO © 2008-2011
Agilo Software all
rights reserved
(this page was served in: 0.24304 sec.)