Package | Description |
---|---|
org.springframework.data.rest.core.event | |
org.springframework.data.rest.webmvc.config |
Modifier and Type | Method and Description |
---|---|
ValidatingRepositoryEventListener |
ValidatingRepositoryEventListener.addValidator(String event,
Validator validator)
Add a
Validator that will be triggered on the given event. |
ValidatingRepositoryEventListener |
ValidatingRepositoryEventListener.setValidators(Map<String,Collection<Validator>> validators)
Assign a Map of
Validator s that are assigned to the various RepositoryEvent s. |
Modifier and Type | Method and Description |
---|---|
ValidatingRepositoryEventListener |
RepositoryRestMvcConfiguration.validatingRepositoryEventListener(ObjectFactory<PersistentEntities> entities)
ApplicationListener implementation for invoking
Validator instances assigned to specific domain types. |
Modifier and Type | Method and Description |
---|---|
default void |
RepositoryRestConfigurer.configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener validatingListener)
Override this method to add validators manually.
|
void |
RepositoryRestConfigurerAdapter.configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener validatingListener)
Deprecated.
|
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.