libspi-java 0.2.7-1 source package in Ubuntu
Changelog
libspi-java (0.2.7-1) unstable; urgency=medium * Team upload. * New upstream release - Build with maven-debian-helper * Standards-Version updated to 4.6.0.1 * Switch to debhelper level 13 * Removed the -java-doc package -- Emmanuel Bourg <email address hidden> Tue, 10 May 2022 23:57:45 +0200
Upload details
- Uploaded by:
- Debian Java Maintainers
- Uploaded to:
- Sid
- Original maintainer:
- Debian Java Maintainers
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc | |
Noble | release | universe | misc | |
Mantic | release | universe | misc | |
Lunar | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libspi-java_0.2.7-1.dsc | 2.0 KiB | 93838cfe59857034f815d446d584199d56e191894441f76e8069e9b5d9bf5399 |
libspi-java_0.2.7.orig.tar.xz | 15.9 KiB | 25fbe5ded5387fff8c7d39766509972b82634bf5d457f46c13e3ada1fea63087 |
libspi-java_0.2.7-1.debian.tar.xz | 2.8 KiB | d7ee9dc3d56eb66655bb0afbb75a00d9c3e46afe59d494a4520de513acbb778d |
Available diffs
- diff from 0.2.4-3 to 0.2.7-1 (26.1 KiB)
No changes file available.
Binary packages built by this source
- libspi-java: Simplifies usage of Java Service Provider Interface
The usage of the Service Provider Interface in Java is a great way to make your
program more extensible. However, implementing and distributing such an
Interface is error prone.
.
One of the reasons is that the system depends on naming schemes and text files.
The name of an implementation should be put in a text file, located on the
classpath in a folder called META-INF/services/ <qualified interface name>.
.
This project allows the programmer to use an Annotation, @ProviderFor, to flag
a class as an implementation of a certain interface. During compilation, the
necessary files are created at the appropriate locations. Also, the class is
inspected to see if it follows all rules applicable to Service Providers.
Compile time errors will be generated if those rules are broken, assisting the
programmer to create more robust code.