| Package | Description |
|---|---|
| org.glassfish.hk2.api | |
| org.glassfish.hk2.utilities |
| 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(java.lang.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 |
DescriptorImpl.getDescriptorType() |
| Modifier and Type | Method and Description |
|---|---|
void |
DescriptorImpl.setDescriptorType(DescriptorType descriptorType)
Sets the descriptor type
|
| Constructor and Description |
|---|
AbstractActiveDescriptor(java.util.Set<java.lang.reflect.Type> advertisedContracts,
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.String analyzerName,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> metadata)
This constructor must be called with the information about
this descriptor
|
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.String analysisName,
java.lang.Long id,
java.lang.Long locatorId)
This creates this descriptor impl, taking all of the fields
as given
|
Copyright © 2013 Oracle Corporation. All Rights Reserved.