Theme is the application and managing an application
- OSGi R5 available at the end of June 2012
- New application support services:
- Subsystem service
- Aggregation of resources:
- feature (no scoping, all shared)
- composite (imports and exports)
- application (only imports)
- Declarative scoping and sharing policies
- Dependencies can be on external resources
- Subsystem archive: *.esa
- Repository service
- Local or remote repositories and resources
- Can be used when resolving during resolve operations (resolver service)
- Accesses OSGi Bundle Repository (OBR)
- Implementations can be based on other repository types (e.g., maven, p2, etc.)
- Resolver service
- Find dependencies for provisioning
- Perform 'what if' scenarios to test for things like conflicts between different versions of the same bundle/package
- Other new features:
- Service loader mediator to mediate between Java service loader and OSGi service loader. Supports plug-ins using Java service loader without having to change code.
- Common namespaces to define capability categories
- Services (provide capability)
- Extenders (require capability)
- Contracts (states the need of a capability)
- Improved JMX for remote management
- Bundle wiring API
- Several API updates
- Configuration administration
- Transactional, coordinated updates of bundles
- Multiple bundles can share the same configuration
- Build time annotations that can be used to generate component declarations at run-time. Useful for better build tools.
No comments:
Post a Comment