Package | Description |
---|---|
org.springframework.data.mapping.callback |
Mapping callback API and implementation base classes.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityCallbacks.addEntityCallback(EntityCallback<?> callback)
Add the given
callback using generic type argument detection for identification of supported
types. |
void |
ReactiveEntityCallbacks.addEntityCallback(EntityCallback<?> callback)
Add the given
callback using generic type argument detection for identification of supported
types. |
static EntityCallbacks |
EntityCallbacks.create(EntityCallback<?>... callbacks)
Create a new
EntityCallbacks instance with given callbacks . |
static ReactiveEntityCallbacks |
ReactiveEntityCallbacks.create(EntityCallback<?>... callbacks)
Create a new
ReactiveEntityCallbacks instance with given callbacks . |
Modifier and Type | Method and Description |
---|---|
<T> T |
EntityCallbacks.callback(Class<? extends EntityCallback> callbackType,
T entity,
Object... args)
Invoke matching
entity callbacks with given arguments. |
<T> reactor.core.publisher.Mono<T> |
ReactiveEntityCallbacks.callback(Class<? extends EntityCallback> callbackType,
T entity,
Object... args)
On
subscribe invoke the matching entity callbacks with given
arguments. |
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.