Archive For 30. January 2017

CDI – Selecting an implementation by using AnnotationLiteral

By |

CDI – Selecting an implementation by using AnnotationLiteral

Let’s assume, that we have two or more service instances of a service interface and we need to select a appropriate instance by a dynamic configuration value at runtime. All service instances are annotated with a unique Qualifier. To select the specific instance an AnnotationLiteral implementation can be used. AnnotationLiteral supports the instantiation of annotation type instances….

Read more »

Troubleshooting cygwin git and IntelliJ IDEA

By |

Troubleshooting cygwin git and IntelliJ IDEA

If you set up a cygwin with git and IntelliJ and ran into this error only inside IntelliJ: cygwin git error while loading shared libraries: ?: cannot open shared object file: No such file or directory then add the /cygwin/bin or /cygwin64/bin Folder to the Windows PATH Variable.

Read more »