DescriptorBuilder |
DescriptorBuilder.analyzeWith(String serviceName) |
Call this if the descriptor should be analyzed with the
ClassAnalyzer service of the given name
|
DescriptorBuilder |
DescriptorBuilder.andLoadWith(HK2Loader loader) |
Call this if this descriptor should be loaded with the given HK2Loader
|
DescriptorBuilder |
DescriptorBuilder.has(String key,
String value) |
An instance of data to be associated with this descriptor
|
DescriptorBuilder |
DescriptorBuilder.has(String key,
List<String> values) |
An instance of data to be associated with this descriptor
|
DescriptorBuilder |
DescriptorBuilder.in(Class<? extends Annotation> scope) |
A scope to be associated with this descriptor object.
|
DescriptorBuilder |
DescriptorBuilder.in(String scope) |
A scope to be associated with this descriptor object.
|
static DescriptorBuilder |
BuilderHelper.link(Class<?> implementationClass) |
|
static DescriptorBuilder |
BuilderHelper.link(Class<?> implementationClass,
boolean addToContracts) |
|
static DescriptorBuilder |
BuilderHelper.link(String implementationClass) |
|
static DescriptorBuilder |
BuilderHelper.link(String implementationClass,
boolean addToContracts) |
|
DescriptorBuilder |
DescriptorBuilder.localOnly() |
This will cause the descriptorVisibility field of the returned
descriptor to return LOCAL
|
DescriptorBuilder |
DescriptorBuilder.named(String name) |
The name for this descriptor object.
|
DescriptorBuilder |
DescriptorBuilder.ofRank(int rank) |
The rank to be associated with this descriptor.
|
DescriptorBuilder |
DescriptorBuilder.proxy() |
This will cause the isProxiable field of the returned
descriptor to return true (it will force this
descriptor to use proxies).
|
DescriptorBuilder |
DescriptorBuilder.proxy(boolean forceProxy) |
This will cause the isProxiable field of the returned
descriptor to return the given value.
|
DescriptorBuilder |
DescriptorBuilder.proxyForSameScope() |
This will cause the isProxyForSameScope field of the returned
descriptor to return true (it will force this
descriptor to proxy even when injecting into the same scope).
|
DescriptorBuilder |
DescriptorBuilder.proxyForSameScope(boolean proxyForSameScope) |
This will cause the isProxyForSameScope field of the returned
descriptor to return the given value.
|
DescriptorBuilder |
DescriptorBuilder.qualifiedBy(Annotation annotation) |
A qualifier to be associated with this descriptor object.
|
DescriptorBuilder |
DescriptorBuilder.qualifiedBy(String annotation) |
A qualifier to be associated with this descriptor object
|
DescriptorBuilder |
DescriptorBuilder.to(Class<?> contract) |
A contract to be associated with this descriptor object.
|
DescriptorBuilder |
DescriptorBuilder.to(String contract) |
A contract to be associated with this descriptor object.
|
DescriptorBuilder |
DescriptorBuilder.visibility(DescriptorVisibility visibility) |
This will set the descriptorVisibility field of the returned
descriptor
|