- All Implemented Interfaces:
Serializable
,Comparable<FactoryType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe service implements anService.InjectionPointFactory
.This service descriptor cannot provide an instance (such as service descriptors generated from interfaces, where we provide instances as part of creating a scope).The service implements aService.QualifiedFactory
.Direct implementation of a service.The service implements aService.ServicesFactory
.The service implements aSupplier
of a contract. -
Method Summary
Modifier and TypeMethodDescriptionstatic FactoryType
Returns the enum constant of this class with the specified name.static FactoryType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
This service descriptor cannot provide an instance (such as service descriptors generated from interfaces, where we provide instances as part of creating a scope). -
SERVICE
Direct implementation of a service.This is the case when service does not implement any of the service factory interfaces, but it does implement at least one contract.
-
SUPPLIER
The service implements aSupplier
of a contract. -
SERVICES
The service implements aService.ServicesFactory
. -
INJECTION_POINT
The service implements anService.InjectionPointFactory
. -
QUALIFIED
The service implements aService.QualifiedFactory
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-