Preview
Second Preview of ClassFile API (JEP 466).
Programs can only use ModuleProvideInfo
when preview features are enabled.
Preview features may be removed in a future release,
or upgraded to permanent features of the Java platform.
ModuleAttribute
.
Modifier and Type | Method and Description |
---|---|
public static ModuleProvideInfo | Returns: a service provision descriptionthe service class interface provides, List<ClassEntry> the service class implementations providesWith)Returns a service provision description. |
public static ModuleProvideInfo | Returns: a service provision descriptionthe service class interface provides, ClassEntry... the service class implementations 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.
|