Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
ipojo-runtime-1.10
-
None
Description
When iPOJO is tracking services, it should let extenral entities to intercept service resolution to determine the services to use.
With this feature it is possible to:
- mark services
- change filters, even build filter chains
- update the selected services dynamically
Two interception are supported:
- tracking : allow filtering out and transforming references. Transformation changes the properties of the reference
- ranking : sort the set of references
Both interceptors are exposed as services and are plugged on the service dependency dynamically. Obviously they can leave and arrive at runtime. To manage a dependency, they expose a service property named 'target' which is a LDAP filter selecting a set of dependencies.