Class RepositoryRestHandlerMapping

All Implemented Interfaces:
Aware, BeanNameAware, InitializingBean, ApplicationContextAware, EmbeddedValueResolverAware, Ordered, ServletContextAware, MatchableHandlerMapping, HandlerMapping

public class RepositoryRestHandlerMapping extends BasePathAwareHandlerMapping
RequestMappingHandlerMapping implementation that will only find a handler method if a Repository is exported under that URL path segment. Also ensures the OpenEntityManagerInViewInterceptor is registered in the application context. The OEMIVI is required for the REST exporter to function properly.
Author:
Jon Brisbin, Oliver Gierke, Mark Paluch