Uses of Class
org.glassfish.hk2.api.TypeLiteral
-
Packages that use TypeLiteral Package Description org.glassfish.hk2.utilities.binding -
-
Uses of TypeLiteral in org.glassfish.hk2.utilities.binding
Methods in org.glassfish.hk2.utilities.binding with parameters of type TypeLiteral Modifier and Type Method Description <T> ServiceBindingBuilder<T>
AbstractBinder. bindAsContract(TypeLiteral<T> serviceType)
Start building a new generic type-based service binding.NamedBindingBuilder<T>
NamedBindingBuilder. to(TypeLiteral<?> contract)
Bind a new contract to a service.ScopedBindingBuilder<T>
ScopedBindingBuilder. to(TypeLiteral<?> contract)
Bind a new contract to a service.ScopedNamedBindingBuilder<T>
ScopedNamedBindingBuilder. to(TypeLiteral<?> contract)
Bind a new contract to a service.ServiceBindingBuilder<T>
ServiceBindingBuilder. to(TypeLiteral<?> contract)
Bind a new contract to a service.
-