public interface RuntimeEntityRegistry
extends io.micronaut.context.ApplicationContextProvider
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
autoPopulateRuntimeProperty(RuntimePersistentProperty<?> persistentProperty,
java.lang.Object previousValue) |
<T> RuntimePersistentEntity<T> |
getEntity(java.lang.Class<T> type)
Get a new, non-cached instance.
|
EntityEventListener<java.lang.Object> |
getEntityEventListener() |
<T> RuntimePersistentEntity<T> |
newEntity(java.lang.Class<T> type)
Get a new, non-cached instance.
|
@NonNull EntityEventListener<java.lang.Object> getEntityEventListener()
@NonNull java.lang.Object autoPopulateRuntimeProperty(@NonNull RuntimePersistentProperty<?> persistentProperty, @Nullable java.lang.Object previousValue)
persistentProperty
- The persistent propertypreviousValue
- The previous value@NonNull <T> RuntimePersistentEntity<T> getEntity(@NonNull java.lang.Class<T> type)
T
- The generic typetype
- The type@NonNull <T> RuntimePersistentEntity<T> newEntity(@NonNull java.lang.Class<T> type)
T
- The generic typetype
- The type