public interface OverrideRegistry
| Modifier and Type | Method and Description |
|---|---|
void |
register(java.net.URI contributionURI,
PersistenceOverrides overrides)
Registers a set of persistence overrides contained by a given contribution.
|
PersistenceOverrides |
resolve(java.lang.String unitName)
Resolves the overrides for the persistence context or null if none are registered.
|
void register(java.net.URI contributionURI,
PersistenceOverrides overrides)
throws DuplicateOverridesException
contributionURI - the contribution URIoverrides - the overridesDuplicateOverridesException - if a set of overrides for the persistence context are already registeredPersistenceOverrides resolve(java.lang.String unitName)
unitName - the persistence context name