public final class EmptyHk2CustomInjectionTypeProvider extends Object implements Hk2CustomBoundTypesProvider
Constructor and Description |
---|
EmptyHk2CustomInjectionTypeProvider() |
Modifier and Type | Method and Description |
---|---|
Set<Type> |
getHk2Types()
Provide a set of types that should became accessible
by CDI container in a form of CDI beans backed by HK2.
|
public Set<Type> getHk2Types()
Hk2CustomBoundTypesProvider
Jersey will ask CDI container to veto these types
and will register HK2 backed beans into CDI, so that @Inject
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.
getHk2Types
in interface Hk2CustomBoundTypesProvider
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.