public final class ServiceProviderBuildItem extends MultiBuildItem
| Constructor and Description |
|---|
ServiceProviderBuildItem(String serviceInterfaceClassName,
List<String> providers)
Registers the specified service interface descriptor to be embedded and allow reflection (instantiation only)
of the specified provider classes.
|
ServiceProviderBuildItem(String serviceInterfaceClassName,
String... providerClassNames)
Registers the specified service interface descriptor to be embedded and allow reflection (instantiation only)
of the specified provider classes.
|
public static final String SPI_ROOT
public ServiceProviderBuildItem(String serviceInterfaceClassName, String... providerClassNames)
serviceInterfaceClassName - the interface whose service interface descriptor file we want to embedproviderClassNames - the list of provider class names that must already be mentioned in the filepublic ServiceProviderBuildItem(String serviceInterfaceClassName, List<String> providers)
serviceInterfaceClassName - the interface whose service interface descriptor file we want to embedproviders - the list of provider class names that must already be mentioned in the fileCopyright © 2020 JBoss by Red Hat. All rights reserved.