Package com.foreach.across.core.annotations

Examples of com.foreach.across.core.annotations.OrderInModule


    if ( bean instanceof OrderedInModule ) {
      return ( (OrderedInModule) bean ).getOrderInModule();
    }
    if ( bean != null ) {
      Class<?> clazz = ( bean instanceof Class ? (Class<?>) bean : bean.getClass() );
      OrderInModule order = AnnotationUtils.findAnnotation( clazz, OrderInModule.class );
      if ( order != null ) {
        return order.value();
      }
    }
    return Ordered.LOWEST_PRECEDENCE;
  }
View Full Code Here

TOP

Related Classes of com.foreach.across.core.annotations.OrderInModule

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.