Package io.micronaut.data.model.runtime
Interface RuntimeEntityRegistry
- All Superinterfaces:
- io.micronaut.context.ApplicationContextProvider
public interface RuntimeEntityRegistry
extends io.micronaut.context.ApplicationContextProvider
A registry for looking up entities across repositories.
- Since:
- 2.3.0
- Author:
- graemerocher
- 
Method SummaryModifier and TypeMethodDescription@NonNull ObjectautoPopulateRuntimeProperty(@NonNull RuntimePersistentProperty<?> persistentProperty, @Nullable Object previousValue) <T> @NonNull RuntimePersistentEntity<T>Get a new, non-cached instance.@NonNull EntityEventListener<Object><T> @NonNull RuntimePersistentEntity<T>Get a new, non-cached instance.Methods inherited from interface io.micronaut.context.ApplicationContextProvidergetApplicationContext
- 
Method Details- 
getEntityEventListener- Returns:
- The primary entity event listener
 
- 
autoPopulateRuntimeProperty@NonNull @NonNull Object autoPopulateRuntimeProperty(@NonNull @NonNull RuntimePersistentProperty<?> persistentProperty, @Nullable @Nullable Object previousValue) - Parameters:
- persistentProperty- The persistent property
- previousValue- The previous value
- Returns:
- The new value, never null.
 
- 
getEntityGet a new, non-cached instance.- Type Parameters:
- T- The generic type
- Parameters:
- type- The type
- Returns:
- The entity
 
- 
newEntityGet a new, non-cached instance.- Type Parameters:
- T- The generic type
- Parameters:
- type- The type
- Returns:
- The entity
 
 
-