|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TypeLiteral | |
|---|---|
| org.glassfish.hk2 | |
| Uses of TypeLiteral in org.glassfish.hk2 |
|---|
| Methods in org.glassfish.hk2 with parameters of type TypeLiteral | ||
|---|---|---|
|
BinderFactory.bind(TypeLiteral<T> typeLiteral)
Binds a parameterized type by forcing users to create a subclass of TypeLiteral which will allow HK2 to retrieve the parameterized
type at runtime. |
|
|
Locator.forContract(TypeLiteral<U> typeLiteral)
See Locator.forContract(Class), with the exception that the
type is a TypeLiteral, a parameterized type. |
|
|
NamedBinder.to(TypeLiteral<T> typeLiteral)
Resolve this binder to a particular parameterized type. |
|
|
NamedBinder.toFactory(TypeLiteral<? extends Factory<? extends T>> factoryType)
Have this instance resolve to a particular target type literal factory. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||