public interface Hk2CustomBoundTypesProvider
Implementation of this type must be registered via META-INF/services
mechanism. I.e. fully qualified name of an implementation class
must be written into
If more than one implementation is found, only a single one is selected that has the highest priority.
|Modifier and Type||Method and Description|
Provide a set of types that should became accessible by CDI container in a form of CDI beans backed by HK2.
Jersey will ask CDI container to veto these types
and will register HK2 backed beans into CDI, so that @
marked injection points could be satisfied.
The end user is responsible for defining necessary HK2 bindings within Jersey application. Should any of such bindings remain undefined, runtime errors are likely to occur.
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.