Package | Description |
---|---|
org.glassfish.hk2.api | |
org.glassfish.hk2.configuration.internal | |
org.glassfish.hk2.utilities | |
org.jvnet.hk2.internal |
Modifier and Type | Method and Description |
---|---|
DescriptorType |
Descriptor.getDescriptorType()
Returns CLASS if this is a class descriptor
and FACTORY if this is a descriptor describing
a factory for a type, in which case the
implClass should point to the implementation
class of the factory
|
static DescriptorType |
DescriptorType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DescriptorType[] |
DescriptorType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
DescriptorType |
DelegatingNamedActiveDescriptor.getDescriptorType() |
Modifier and Type | Method and Description |
---|---|
DescriptorType |
DescriptorImpl.getDescriptorType() |
Modifier and Type | Method and Description |
---|---|
void |
DescriptorImpl.setDescriptorType(DescriptorType descriptorType)
Sets the descriptor type
|
Constructor and Description |
---|
AbstractActiveDescriptor(Set<Type> advertisedContracts,
Class<? extends Annotation> scope,
String name,
Set<Annotation> qualifiers,
DescriptorType descriptorType,
DescriptorVisibility descriptorVisibility,
int ranking,
Boolean proxy,
Boolean proxyForSameScope,
String analyzerName,
Map<String,List<String>> metadata)
This constructor must be called with the information about
this descriptor
|
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 |
---|---|
DescriptorType |
SystemDescriptor.getDescriptorType() |
Constructor and Description |
---|
AutoActiveDescriptor(Class<?> clazz,
Creator<T> creator,
Set<Type> advertisedContracts,
Class<? extends Annotation> scope,
String name,
Set<Annotation> qualifiers,
DescriptorVisibility descriptorVisibility,
int ranking,
Boolean proxy,
Boolean proxyForSameScope,
String classAnalysisName,
Map<String,List<String>> metadata,
DescriptorType descriptorType,
Type clazzType)
Constructor with all relevant fields
|
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.