Uses of Interface
org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
Packages that use ServiceBindingBuilder
-
Uses of ServiceBindingBuilder in org.glassfish.hk2.utilities.binding
Methods in org.glassfish.hk2.utilities.binding that return ServiceBindingBuilderModifier and TypeMethodDescriptionServiceBindingBuilder.analyzeWith(String analyzer) Set the name of theClassAnalyzeron the binding.Call this if the parameterized type of the implementation class is known.<T> ServiceBindingBuilder<T>Start building a new class-based service binding.<T> ServiceBindingBuilder<T>AbstractBinder.bindAsContract(Class<T> serviceType) Start building a new class-based service binding.<T> ServiceBindingBuilder<T>AbstractBinder.bindAsContract(Type serviceType) Start building a new generic type-based service binding.<T> ServiceBindingBuilder<T>AbstractBinder.bindAsContract(TypeLiteral<T> serviceType) Start building a new generic type-based service binding.<T> ServiceBindingBuilder<T>AbstractBinder.bindFactory(Class<? extends Factory<T>> factoryType) Start building a new factory class-based service binding.<T> ServiceBindingBuilder<T>AbstractBinder.bindFactory(Class<? extends Factory<T>> factoryType, Class<? extends Annotation> factoryScope) Start building a new factory class-based service binding.<T> ServiceBindingBuilder<T>AbstractBinder.bindFactory(Factory<T> factory) Start building a new factory instance-based service binding.Custom HK2 loader to be used when service class is about to be loaded.static <T> ServiceBindingBuilder<T>Get a new class-based service binding builder.static <T> ServiceBindingBuilder<T>BindingBuilderFactory.newFactoryBinder(Class<? extends Factory<T>> factoryType) Get a new factory class-based service binding builder.static <T> ServiceBindingBuilder<T>BindingBuilderFactory.newFactoryBinder(Class<? extends Factory<T>> factoryType, Class<? extends Annotation> factoryScope) Get a new factory class-based service binding builder.static <T> ServiceBindingBuilder<T>BindingBuilderFactory.newFactoryBinder(Factory<T> factory) Get a new factory instance-based service binding builder.ServiceBindingBuilder.proxy(boolean proxiable) Set proxy flag on the binding.ServiceBindingBuilder.proxyForSameScope(boolean proxyForSameScope) Set proxyForSameScope flag on the bindingServiceBindingBuilder.qualifiedBy(Annotation annotation) Add a binding qualifier annotation.Bind a new contract to a service.Bind a new contract to a service.ServiceBindingBuilder.to(TypeLiteral<?> contract) Bind a new contract to a service.ServiceBindingBuilder.withMetadata(String key, String value) Add binding descriptor metadata.ServiceBindingBuilder.withMetadata(String key, List<String> values) Add binding descriptor metadata.