| Package | Description | 
|---|---|
| org.glassfish.hk2.utilities.binding | 
| Modifier and Type | Method and Description | 
|---|---|
ScopedBindingBuilder<T> | 
ScopedBindingBuilder.analyzeWith(String analyzer)
Set the name of the  
ClassAnalyzer on the binding. | 
<T> ScopedBindingBuilder<T> | 
AbstractBinder.bind(T service)
Start building a new instance-based service binding. 
 | 
ScopedBindingBuilder<T> | 
ServiceBindingBuilder.in(Annotation scopeAnnotation)
Scope a binding. 
 | 
ScopedBindingBuilder<T> | 
ServiceBindingBuilder.in(Class<? extends Annotation> scopeAnnotation)
Scope a binding. 
 | 
ScopedBindingBuilder<T> | 
ScopedBindingBuilder.loadedBy(HK2Loader loader)
Custom HK2 loader to be used when service class is about to be loaded. 
 | 
static <T> ScopedBindingBuilder<T> | 
BindingBuilderFactory.newBinder(T service)
Get a new instance-based service binding builder. 
 | 
ScopedBindingBuilder<T> | 
ScopedBindingBuilder.proxy(boolean proxiable)
Set proxy flag on the binding. 
 | 
ScopedBindingBuilder<T> | 
ScopedBindingBuilder.proxyForSameScope(boolean proxyForSameScope)
Set proxyForSameScope flag on the binding 
 | 
ScopedBindingBuilder<T> | 
ScopedBindingBuilder.qualifiedBy(Annotation annotation)
Add a binging qualifier annotation. 
 | 
ScopedBindingBuilder<T> | 
ScopedBindingBuilder.to(Class<? super T> contract)
Bind a new contract to a service. 
 | 
ScopedBindingBuilder<T> | 
ScopedBindingBuilder.to(TypeLiteral<?> contract)
Bind a new contract to a service. 
 | 
ScopedBindingBuilder<T> | 
ScopedBindingBuilder.withMetadata(String key,
            List<String> values)
Add binding descriptor metadata. 
 | 
ScopedBindingBuilder<T> | 
ScopedBindingBuilder.withMetadata(String key,
            String value)
Add binding descriptor metadata. 
 | 
Copyright © 2009–2019 Oracle Corporation. All rights reserved.