Interface IdentityProviderDefaults
- All Known Subinterfaces:
IdentityProvider
- All Known Implementing Classes:
UuidFactory
public interface IdentityProviderDefaults
Owns the shared default inherited by
IdentityProvider.
Keep this interface free of default methods: the JVM must not initialize provider discovery merely because an implementation is being initialized. Otherwise concurrent first use of the default and an implementation can wait on each other's class-initialization monitors. Discovery remains eager on access to the field and uses that thread's context class loader. Constructing an implementation alone does not trigger discovery.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IdentityProviderThe default identity provider, resolved usingServiceLoader, or falling back toUuidFactory.
-
Field Details
-
defaultIdentityProvider
The default identity provider, resolved usingServiceLoader, or falling back toUuidFactory.
-