Package org.springframework.data.rest.core.annotation

Examples of org.springframework.data.rest.core.annotation.RepositoryEventHandler


  @Override
  public Object postProcessAfterInitialization(final Object bean, String beanName) throws BeansException {
    final Class<?> beanType = bean.getClass();

    RepositoryEventHandler typeAnno = AnnotationUtils.findAnnotation(beanType, RepositoryEventHandler.class);
    if (null == typeAnno) {
      return bean;
    }

    Class<?>[] targetTypes = typeAnno.value();
    if (targetTypes.length == 0) {
      targetTypes = new Class<?>[] { null };
    }

    for (final Class<?> targetType : targetTypes) {
View Full Code Here

TOP

Related Classes of org.springframework.data.rest.core.annotation.RepositoryEventHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.