Package io.smallrye.stork.spi.internal
Interface ServiceRegistrarLoader<MetadataKeyType extends Enum<MetadataKeyType> & MetadataKey>
-
- All Superinterfaces:
ElementWithType
public interface ServiceRegistrarLoader<MetadataKeyType extends Enum<MetadataKeyType> & MetadataKey> extends ElementWithType
Used by stork internals to generate service loader for ServiceRegistrarProvider.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceRegistrar<MetadataKeyType>createServiceRegistrar(ConfigWithType config, String serviceName, StorkInfrastructure storkInfrastructure)Creates a newServiceRegistrarinstance.-
Methods inherited from interface io.smallrye.stork.spi.ElementWithType
type
-
-
-
-
Method Detail
-
createServiceRegistrar
ServiceRegistrar<MetadataKeyType> createServiceRegistrar(ConfigWithType config, String serviceName, StorkInfrastructure storkInfrastructure)
Creates a newServiceRegistrarinstance.- Parameters:
config- the service registrar configuration, must not benullserviceName-storkInfrastructure- the stork infrastructure, must not benull- Returns:
- the new
ServiceRegistrar
-
-