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