Package org.hibernate.models.spi
Interface ModelsContextProvider
public interface ModelsContextProvider
Java service loadable support for
providing ModelsContext implementations.
- API Note:
- If none found, or if the provider(s) return null, the expectation is that the default implementation will be used.
-
Method Summary
Modifier and TypeMethodDescriptionproduceContext(ClassLoading classLoading, RegistryPrimer registryPrimer, Map<Object, Object> configProperties) Produce the ModelsContext.
-
Method Details
-
produceContext
ModelsContext produceContext(ClassLoading classLoading, RegistryPrimer registryPrimer, Map<Object, Object> configProperties) Produce the ModelsContext.- Returns:
- The alternate context, or null.
-