Uses of Class
org.glassfish.hk2.TypeLiteral

Packages that use TypeLiteral
org.glassfish.hk2   
 

Uses of TypeLiteral in org.glassfish.hk2
 

Methods in org.glassfish.hk2 with parameters of type TypeLiteral
<T> Binder<T>
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.
<U> ContractLocator<U>
Locator.forContract(TypeLiteral<U> typeLiteral)
          See Locator.forContract(Class), with the exception that the type is a TypeLiteral, a parameterized type.
<T extends U>
ResolvedBinder<T>
NamedBinder.to(TypeLiteral<T> typeLiteral)
          Resolve this binder to a particular parameterized type.
<T extends U>
ResolvedBinder<T>
NamedBinder.toFactory(TypeLiteral<? extends Factory<? extends T>> factoryType)
          Have this instance resolve to a particular target type literal factory.
 



Copyright © 2011 Oracle Corporation. All Rights Reserved.