| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
Hides org. |
| private final T |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ConstantActiveDescriptor(T
May not be null theOne, Set<Type> advertisedContracts, Class<? extends Annotation> scope, String name, Set<Annotation> qualifiers, DescriptorVisibility descriptorVisibility, Boolean proxy, Boolean proxyForSameScope, String classAnalysisName, Map<String, List<String>> metadata, int rank)Creates the constant descriptor |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. For serialization | |
| theOne | back to summary |
|---|---|
| private final T theOne | |
| ConstantActiveDescriptor | back to summary |
|---|---|
| public ConstantActiveDescriptor() For serializable | |
| ConstantActiveDescriptor | back to summary |
|---|---|
| public ConstantActiveDescriptor(T theOne, Set<Type> advertisedContracts, Class<? extends Annotation> scope, String name, Set<Annotation> qualifiers, DescriptorVisibility descriptorVisibility, Boolean proxy, Boolean proxyForSameScope, String classAnalysisName, Map<String, List<String>> metadata, int rank) Creates the constant descriptor
| |
| create | back to summary |
|---|---|
| public T create(ServiceHandle<?> root) Implements org. Doc from org. Creates an instance of the ActiveDescriptor. All of the Injectee's must be created prior to instantiation, and associated with the ExtendedProvider so that they can be destroyed properly
| |
| getCache | back to summary |
|---|---|
| public T getCache() Overrides org. Implements org. Doc from org. This can be used for scopes that will only every be created once. The returned value must have been set previously with setCache. If this is called when isCacheSet is false will result in a RuntimeException
| |
| getImplementation | back to summary |
|---|---|
| public String getImplementation() Overrides org. Implements org. Doc from org. Returns the fully qualified class name of the implementation class. If this is a factory descriptor then this will return the fully qualified name of the class implementing the factory interface.
| |
| getImplementationClass | back to summary |
|---|---|
| public Class Implements org. Doc from org. The implementation class that should be used to generate new instances of this descriptor. If the class returned is a Factory, then the factory is used to create instances. In this case the system will get an instance of the factory and use it to create the instances
| |
| getImplementationType | back to summary |
|---|---|
| public Type getImplementationType() Implements org. Doc from org. If known the Type of the implementation. If unknown will
return the same as
| |
| isCacheSet | back to summary |
|---|---|
| public boolean isCacheSet() Overrides org. Implements org. Doc from org. Returns true if this cache has been set
| |