Example usage for org.springframework.data.rest.core.event AnnotatedEventHandlerInvoker AnnotatedEventHandlerInvoker

List of usage examples for org.springframework.data.rest.core.event AnnotatedEventHandlerInvoker AnnotatedEventHandlerInvoker

Introduction

In this page you can find the example usage for org.springframework.data.rest.core.event AnnotatedEventHandlerInvoker AnnotatedEventHandlerInvoker.

Prototype

AnnotatedEventHandlerInvoker

Source Link

Usage

From source file:org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration.java

/**
 * {@link org.springframework.beans.factory.config.BeanPostProcessor} to turn beans annotated as
 * {@link org.springframework.data.rest.repository.annotation.RepositoryEventHandler}s.
 * /*w  ww.jav  a  2s. co m*/
 * @return
 */
@Bean
public static AnnotatedEventHandlerInvoker annotatedEventHandlerInvoker() {
    return new AnnotatedEventHandlerInvoker();
}