-
ReflectionBasedSingletonServiceProvider.create(Class<T> serviceType,
io.helidon.inject.api.ServiceInfoBasics siBasics)
Generates a service provider eligible for binding into the service registry with the following proviso:
The service type will be of jakarta.inject.Singleton scope
The service type will be created reflectively, and will expect to have an empty constructor
The service type will not be able to provide its dependencies, nor will it be able to accept injection
The service type will not be able to participate in lifecycle -
PostConstructMethod or PreDestroyMethod
Note: Generally it is encouraged for users to rely on the annotation processors and other built on compile-time
tooling to generate the appropriate service providers and modules.