users@jersey.java.net

[Jersey] Migration from 2.17 to 2.22.1: CustomAnnotationImpl Removed

From: DiFrango, Ronald <Ronald.DiFrango_at_capitalone.com>
Date: Sun, 22 Nov 2015 17:21:13 -0500

Jersey Team,

We are attempting to upgrade from 2.17 to 2.22.1 and it appears as though the CustomAnnotationImpl has been removed. We were using it to bind our converter to the ParamConverterProvider and were doing it as follows:

public static class Binder extends AbstractBinder {
@Override
protected void configure() {
bind(LocalDateParamConverterProvider.class).to(ParamConverterProvider.class).in(Singleton.class)
.qualifiedBy(new CustomAnnotationImpl());
}
}

What is the way that we should do this in 2.22.1?

Thanks,

Ron DiFrango

________________________________________________________

The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.