Modifier and Type | Method and Description |
---|---|
HK2Loader |
Descriptor.getLoader()
This returns the loader that should be used when
classloading this descriptor.
|
Modifier and Type | Method and Description |
---|---|
HK2Loader |
DelegatingNamedActiveDescriptor.getLoader() |
Modifier and Type | Method and Description |
---|---|
ActiveDescriptorBuilder |
ActiveDescriptorBuilderImpl.andLoadWith(HK2Loader loader) |
DescriptorBuilder |
DescriptorBuilderImpl.andLoadWith(HK2Loader loader) |
Modifier and Type | Class and Description |
---|---|
class |
HK2LoaderImpl
This is an implementation of an
HK2Loader that uses
a given classloader |
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(Set<String> contracts,
String name,
String scope,
String implementation,
Map<String,List<String>> metadatas,
Set<String> qualifiers,
DescriptorType descriptorType,
DescriptorVisibility descriptorVisibility,
HK2Loader loader,
int rank,
Boolean proxiable,
Boolean proxyForSameScope,
String analysisName,
Long id,
Long locatorId)
This creates this descriptor impl, taking all of the fields
as given
|
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.
|
NamedBindingBuilder<T> |
NamedBindingBuilder.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.
|
ScopedNamedBindingBuilder<T> |
ScopedNamedBindingBuilder.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.
|
Modifier and Type | Method and Description |
---|---|
HK2Loader |
SystemDescriptor.getLoader() |
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.