protected void injectMultibindings ( ServiceLocator locator , Injector injector ) { injectMultiBindings ( locator , injector , new Key < Set < ContainerRequestFilter > > ( ) { } , ContainerRequestFilter . class ) ; injectMultiBindings ( locator , injector , new Key < Set < ContainerResponseFilter > > ( ) { } , ContainerResponseFilter . class ) ; injectMultiBindings ( locator , injector , new Key < Set < ReaderInterceptor > > ( ) { } , ReaderInterceptor . class ) ; injectMultiBindings ( locator , injector , new Key < Set < WriterInterceptor > > ( ) { } , WriterInterceptor . class ) ; injectMultiBindings ( locator , injector , new Key < Set < ModelProcessor > > ( ) { } , ModelProcessor . class ) ; injectMultiBindings ( locator , injector , new Key < Set < ContainerLifecycleListener > > ( ) { } , ContainerLifecycleListener . class ) ; injectMultiBindings ( locator , injector , new Key < Set < ApplicationEventListener > > ( ) { } , ApplicationEventListener . class ) ; injectMultiBindings ( locator , injector , new Key < Set < ExceptionMapper > > ( ) { } , ExceptionMapper . class ) ; }
This is a workaround for the hk2 bridge limitations