Uses of Interface
org.glassfish.hk2.utilities.DescriptorBuilder
Packages that use DescriptorBuilder
-
Uses of DescriptorBuilder in org.glassfish.hk2.internal
Classes in org.glassfish.hk2.internal that implement DescriptorBuilderMethods in org.glassfish.hk2.internal that return DescriptorBuilderModifier and TypeMethodDescriptionDescriptorBuilderImpl.analyzeWith
(String serviceName) DescriptorBuilderImpl.andLoadWith
(HK2Loader loader) DescriptorBuilderImpl.in
(Class<? extends Annotation> scope) DescriptorBuilderImpl.localOnly()
DescriptorBuilderImpl.ofRank
(int rank) DescriptorBuilderImpl.proxy()
DescriptorBuilderImpl.proxy
(boolean forceProxy) DescriptorBuilderImpl.proxyForSameScope()
DescriptorBuilderImpl.proxyForSameScope
(boolean proxyForSameScope) DescriptorBuilderImpl.qualifiedBy
(Annotation annotation) DescriptorBuilderImpl.qualifiedBy
(String annotation) DescriptorBuilderImpl.visibility
(DescriptorVisibility visibility) -
Uses of DescriptorBuilder in org.glassfish.hk2.utilities
Methods in org.glassfish.hk2.utilities that return DescriptorBuilderModifier and TypeMethodDescriptionDescriptorBuilder.analyzeWith
(String serviceName) Call this if the descriptor should be analyzed with theClassAnalyzer
service of the given nameDescriptorBuilder.andLoadWith
(HK2Loader loader) Call this if this descriptor should be loaded with the given HK2LoaderAn instance of data to be associated with this descriptorAn instance of data to be associated with this descriptorDescriptorBuilder.in
(Class<? extends Annotation> scope) A scope to be associated with this descriptor object.A scope to be associated with this descriptor object.static DescriptorBuilder
This method links an implementation class with aDescriptorBuilder
, to be used to further build theDescriptor
.static DescriptorBuilder
This method links an implementation class with aDescriptorBuilder
, to be used to further build theDescriptor
static DescriptorBuilder
This method links an implementation class with aDescriptorBuilder
, to be used to further build theDescriptor
.static DescriptorBuilder
This method links an implementation class with aDescriptorBuilder
, to be used to further build theDescriptor
.DescriptorBuilder.localOnly()
This will cause the descriptorVisibility field of the returned descriptor to return LOCALThe name for this descriptor object.DescriptorBuilder.ofRank
(int rank) The rank to be associated with this descriptor.DescriptorBuilder.proxy()
This will cause the isProxiable field of the returned descriptor to return true (it will force this descriptor to use proxies).DescriptorBuilder.proxy
(boolean forceProxy) This will cause the isProxiable field of the returned descriptor to return the given value.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.proxyForSameScope
(boolean proxyForSameScope) This will cause the isProxyForSameScope field of the returned descriptor to return the given value.DescriptorBuilder.qualifiedBy
(Annotation annotation) A qualifier to be associated with this descriptor object.DescriptorBuilder.qualifiedBy
(String annotation) A qualifier to be associated with this descriptor objectA contract to be associated with this descriptor object.A contract to be associated with this descriptor object.DescriptorBuilder.visibility
(DescriptorVisibility visibility) This will set the descriptorVisibility field of the returned descriptor