Package | Description |
---|---|
org.glassfish.hk2.internal | |
org.glassfish.hk2.utilities |
Modifier and Type | Class and Description |
---|---|
class |
ActiveDescriptorBuilderImpl |
Modifier and Type | Method and Description |
---|---|
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.analyzeWith(String serviceName) |
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.andLoadWith(HK2Loader loader) |
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.asType(Type t) |
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.has(String key,
List<String> values) |
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.has(String key,
String value) |
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.in(Annotation scopeAnnotation) |
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.in(Class<? extends Annotation> scope) |
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.localOnly() |
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.named(String name) |
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.ofRank(int rank) |
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.proxy() |
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.proxy(boolean forceProxy) |
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.proxyForSameScope() |
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.proxyForSameScope(boolean forceProxyForSameScope) |
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.qualifiedBy(Annotation annotation) |
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.to(Type contract) |
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.visibility(DescriptorVisibility visibility) |
Modifier and Type | Method and Description |
---|---|
static ActiveDescriptorBuilder |
BuilderHelper.activeLink(Class<?> implementationClass)
This method creates an
ActiveDescriptorBuilder , whose job it
is to create an unreified ActiveDescriptor . |
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.analyzeWith(String serviceName)
Call this if the descriptor should be analyzed with the
ClassAnalyzer service of the given name |
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.andLoadWith(HK2Loader loader)
Call this if this descriptor should be loaded with the given HK2Loader
|
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.asType(Type t)
Call this if the parameterized type of the implementation
class is known.
|
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.has(String key,
List<String> values)
An instance of data to be associated with this descriptor
|
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.has(String key,
String value)
An instance of data to be associated with this descriptor
|
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.in(Annotation scope)
A scope to be associated with this descriptor object.
|
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.in(Class<? extends Annotation> scope)
A scope to be associated with this descriptor object.
|
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.localOnly()
This will cause the descriptorVisibility field of the returned
descriptor to return LOCAL
|
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.named(String name)
The name for this descriptor object.
|
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.ofRank(int rank)
The rank to be associated with this descriptor.
|
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.proxy()
This will cause the isProxiable field of the returned
descriptor to return true (it will force this
descriptor to use proxies).
|
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.proxy(boolean forceProxy)
This will cause the isProxiable field of the returned
descriptor to return the given value.
|
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.proxyForSameScope()
This will cause the isProxyForSameScope field of the returned
descriptor to return true (it will force this
descriptor to use proxies even when injecting into
the same scope).
|
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.proxyForSameScope(boolean forceProxyForSameScope)
This will cause the isProxyForSameScope field of the returned
descriptor to return the given value.
|
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.qualifiedBy(Annotation annotation)
A qualifier to be associated with this descriptor object
|
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.to(Type contract)
A contract to be associated with this descriptor object.
|
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.visibility(DescriptorVisibility visibility)
This will set the descriptorVisibility field of the returned
descriptor
|
Copyright © 2009–2019 Oracle Corporation. All rights reserved.