Modifier and Type | Method and Description |
---|---|
HK2Loader |
Descriptor.getLoader()
This returns the loader that should be used when
classloading this descriptor.
|
Modifier and Type | Field and Description |
---|---|
private HK2Loader |
Hk2LoaderPopulatorPostProcessor.hk2Loader |
Modifier and Type | Method and Description |
---|---|
HK2Loader |
DelegatingNamedActiveDescriptor.getLoader() |
Modifier and Type | Field and Description |
---|---|
private HK2Loader |
DescriptorBuilderImpl.loader |
private HK2Loader |
ActiveDescriptorBuilderImpl.loader |
Modifier and Type | Method and Description |
---|---|
DescriptorBuilder |
DescriptorBuilderImpl.andLoadWith(HK2Loader loader) |
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.andLoadWith(HK2Loader loader) |
Constructor and Description |
---|
BuiltActiveDescriptor(java.lang.Class<?> implementationClass,
java.util.Set<java.lang.reflect.Type> advertisedContracts,
java.lang.annotation.Annotation scopeAnnotation,
java.lang.Class<? extends java.lang.annotation.Annotation> scope,
java.lang.String name,
java.util.Set<java.lang.annotation.Annotation> qualifiers,
DescriptorType descriptorType,
DescriptorVisibility descriptorVisibility,
int ranking,
java.lang.Boolean proxy,
java.lang.Boolean proxyForSameScope,
java.lang.String classAnalysisName,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> metadata,
HK2Loader loader,
java.lang.reflect.Type implementationType) |
Modifier and Type | Class and Description |
---|---|
class |
HK2LoaderImpl
This is an implementation of an
HK2Loader that uses
a given classloader |
Modifier and Type | Field and Description |
---|---|
private HK2Loader |
ClassLoaderPostProcessor.loader |
private HK2Loader |
DescriptorImpl.loader |
Modifier and Type | Method and Description |
---|---|
HK2Loader |
DescriptorImpl.getLoader() |
Modifier and Type | Method and Description |
---|---|
ActiveDescriptorBuilder |
ActiveDescriptorBuilder.andLoadWith(HK2Loader loader)
Call this if this descriptor should be loaded with the given HK2Loader
|
DescriptorBuilder |
DescriptorBuilder.andLoadWith(HK2Loader loader)
Call this if this descriptor should be loaded with the given HK2Loader
|
void |
DescriptorImpl.setLoader(HK2Loader loader)
Sets the loader to use with this descriptor
|
Constructor and Description |
---|
DescriptorImpl(java.util.Set<java.lang.String> contracts,
java.lang.String name,
java.lang.String scope,
java.lang.String implementation,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> metadatas,
java.util.Set<java.lang.String> qualifiers,
DescriptorType descriptorType,
DescriptorVisibility descriptorVisibility,
HK2Loader loader,
int rank,
java.lang.Boolean proxiable,
java.lang.Boolean proxyForSameScope,
java.lang.String analysisName,
java.lang.Long id,
java.lang.Long locatorId)
This creates this descriptor impl, taking all of the fields
as given
|
Modifier and Type | Field and Description |
---|---|
private HK2Loader |
AbstractBinder.defaultLoader |
(package private) HK2Loader |
AbstractBindingBuilder.loader
Bound service loader.
|
Modifier and Type | Method and Description |
---|---|
private HK2Loader |
AbstractBinder.getDefaultBinderLoader() |
Modifier and Type | Method and Description |
---|---|
static void |
BindingBuilderFactory.addBinding(BindingBuilder<?> builder,
DynamicConfiguration configuration,
HK2Loader defaultLoader)
Add a binding represented by the binding builder to the HK2 dynamic configuration.
|
(package private) abstract void |
AbstractBindingBuilder.complete(DynamicConfiguration configuration,
HK2Loader defaultLoader)
Build the binding descriptor and bind it in the
dynamic configuration . |
(package private) void |
AbstractBindingBuilder.ClassBasedBindingBuilder.complete(DynamicConfiguration configuration,
HK2Loader defaultLoader) |
(package private) void |
AbstractBindingBuilder.InstanceBasedBindingBuilder.complete(DynamicConfiguration configuration,
HK2Loader defaultLoader) |
(package private) void |
AbstractBindingBuilder.FactoryInstanceBasedBindingBuilder.complete(DynamicConfiguration configuration,
HK2Loader defaultLoader) |
(package private) void |
AbstractBindingBuilder.FactoryTypeBasedBindingBuilder.complete(DynamicConfiguration configuration,
HK2Loader defaultLoader) |
ScopedNamedBindingBuilder<T> |
ScopedNamedBindingBuilder.loadedBy(HK2Loader loader)
Custom HK2 loader to be used when service class is about to be loaded.
|
ScopedBindingBuilder<T> |
ScopedBindingBuilder.loadedBy(HK2Loader loader)
Custom HK2 loader to be used when service class is about to be loaded.
|
NamedBindingBuilder<T> |
NamedBindingBuilder.loadedBy(HK2Loader loader)
Custom HK2 loader to be used when service class is about to be loaded.
|
ServiceBindingBuilder<T> |
ServiceBindingBuilder.loadedBy(HK2Loader loader)
Custom HK2 loader to be used when service class is about to be loaded.
|
AbstractBindingBuilder<T> |
AbstractBindingBuilder.loadedBy(HK2Loader loader) |
Modifier and Type | Method and Description |
---|---|
HK2Loader |
SystemDescriptor.getLoader() |