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 |
---|---|
protected void |
RepositoryRestMvcConfiguration.configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener validatingListener)
Deprecated.
since 2.4, implement
RepositoryRestConfigurer.configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener)
either directly or extend RepositoryRestConfigurerAdapter and override the method. |
void |
RepositoryRestConfigurerAdapter.configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener validatingListener) |
void |
RepositoryRestConfigurer.configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener validatingListener)
Override this method to add validators manually.
|
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.