Module io.helidon.inject.runtime
Package io.helidon.inject.runtime
Class DefaultInjectionServicesProvider
java.lang.Object
io.helidon.inject.runtime.DefaultInjectionServicesProvider
- All Implemented Interfaces:
Resettable,InjectionServicesProvider
@Singleton
public class DefaultInjectionServicesProvider
extends Object
implements InjectionServicesProvider, Resettable
The default implementation for
InjectionServicesProvider.
The first instance created (or first after calling deep reset(boolean)) will be the global services instance. The global
instance will track the set of loaded modules and applications that are loaded by this JVM.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.this is a Java ServiceLoader implementation and the constructor should not be used directly -
Method Summary
-
Constructor Details
-
DefaultInjectionServicesProvider
Deprecated.this is a Java ServiceLoader implementation and the constructor should not be used directlyService loader based constructor.
-
-
Method Details
-
services
Description copied from interface:InjectionServicesProviderProvide theInjectionServices implementation given the provided primordialBootstrapconfiguration instance.- Specified by:
servicesin interfaceInjectionServicesProvider- Parameters:
bootstrap- the primordial bootstrap configuration- Returns:
- services instance configured with the provided bootstrap instance
-
reset
public boolean reset(boolean deep) Description copied from interface:ResettableResets the state of this object.- Specified by:
resetin interfaceResettable- Parameters:
deep- true to iterate over any contained objects, to reflect the reset into the retained object- Returns:
- returns true if the state was changed
-