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.(package private) static <T> AbstractBindingBuilder<T> AbstractBindingBuilder.create(TypeLiteral<T> serviceType, boolean bindAsContract) Create a new service binding builder.AbstractBindingBuilder.to(TypeLiteral<?> contract) 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.