ModuleAttribute.
Module Attribute
ModuleAttribute#provides(), ModuleDescriptor.Provides
| Modifier and Type | Method and Description |
|---|---|
| public static ModuleProvideInfo | Returns: a service provision descriptionthe service class interface provides, List<ClassEntry> the service class implementations, must not be empty providesWith)Returns a service provision description. |
| public static ModuleProvideInfo | Returns: a service provision descriptionthe service class interface provides, ClassEntry... the service class implementations, must not be empty providesWith)Returns a service provision description. |
| public static ModuleProvideInfo | |
| public static ModuleProvideInfo | |
| public ClassEntry | Returns: the service interface representing the provided serviceReturns the service interface representing the provided service. |
| public List | Returns: the classes providing the service implementationReturns the classes providing the service implementation. |
| of | back to summary |
|---|---|
| public static ModuleProvideInfo of(ClassEntry provides, List<ClassEntry> providesWith) Returns a service provision description.
| |
| of | back to summary |
|---|---|
| public static ModuleProvideInfo of(ClassEntry provides, ClassEntry... providesWith) Returns a service provision description.
| |
| of | back to summary |
|---|---|
| public static ModuleProvideInfo of(ClassDesc provides, List<ClassDesc> providesWith) Returns a service provision description.
| |
| of | back to summary |
|---|---|
| public static ModuleProvideInfo of(ClassDesc provides, ClassDesc... providesWith) Returns a service provision description.
| |
| provides | back to summary |
|---|---|
| public ClassEntry provides() Returns the service interface representing the provided service.
| |
| providesWith | back to summary |
|---|---|
| public List Returns the classes providing the service implementation. The list should not be empty.
| |