Uses of Interface
org.glassfish.hk2.utilities.ActiveDescriptorBuilder
Packages that use ActiveDescriptorBuilder
-
Uses of ActiveDescriptorBuilder in org.glassfish.hk2.internal
Classes in org.glassfish.hk2.internal that implement ActiveDescriptorBuilderMethods in org.glassfish.hk2.internal that return ActiveDescriptorBuilderModifier and TypeMethodDescriptionActiveDescriptorBuilderImpl.analyzeWith
(String serviceName) ActiveDescriptorBuilderImpl.andLoadWith
(HK2Loader loader) ActiveDescriptorBuilderImpl.in
(Annotation scopeAnnotation) ActiveDescriptorBuilderImpl.in
(Class<? extends Annotation> scope) ActiveDescriptorBuilderImpl.localOnly()
ActiveDescriptorBuilderImpl.ofRank
(int rank) ActiveDescriptorBuilderImpl.proxy()
ActiveDescriptorBuilderImpl.proxy
(boolean forceProxy) ActiveDescriptorBuilderImpl.proxyForSameScope()
ActiveDescriptorBuilderImpl.proxyForSameScope
(boolean forceProxyForSameScope) ActiveDescriptorBuilderImpl.qualifiedBy
(Annotation annotation) ActiveDescriptorBuilderImpl.visibility
(DescriptorVisibility visibility) -
Uses of ActiveDescriptorBuilder in org.glassfish.hk2.utilities
Methods in org.glassfish.hk2.utilities that return ActiveDescriptorBuilderModifier and TypeMethodDescriptionstatic ActiveDescriptorBuilder
BuilderHelper.activeLink
(Class<?> implementationClass) This method creates anActiveDescriptorBuilder
, whose job it is to create an unreifiedActiveDescriptor
.ActiveDescriptorBuilder.analyzeWith
(String serviceName) Call this if the descriptor should be analyzed with theClassAnalyzer
service of the given nameActiveDescriptorBuilder.andLoadWith
(HK2Loader loader) Call this if this descriptor should be loaded with the given HK2LoaderCall this if the parameterized type of the implementation class is known.An instance of data to be associated with this descriptorAn instance of data to be associated with this descriptorActiveDescriptorBuilder.in
(Annotation scope) A scope to be associated with this descriptor object.ActiveDescriptorBuilder.in
(Class<? extends Annotation> scope) A scope to be associated with this descriptor object.ActiveDescriptorBuilder.localOnly()
This will cause the descriptorVisibility field of the returned descriptor to return LOCALThe name for this descriptor object.ActiveDescriptorBuilder.ofRank
(int rank) The rank to be associated with this descriptor.ActiveDescriptorBuilder.proxy()
This will cause the isProxiable field of the returned descriptor to return true (it will force this descriptor to use proxies).ActiveDescriptorBuilder.proxy
(boolean forceProxy) This will cause the isProxiable field of the returned descriptor to return the given value.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.proxyForSameScope
(boolean forceProxyForSameScope) This will cause the isProxyForSameScope field of the returned descriptor to return the given value.ActiveDescriptorBuilder.qualifiedBy
(Annotation annotation) A qualifier to be associated with this descriptor objectA contract to be associated with this descriptor object.ActiveDescriptorBuilder.visibility
(DescriptorVisibility visibility) This will set the descriptorVisibility field of the returned descriptor