Examples of RoutingType


Examples of com.google.collide.dtogen.shared.RoutingType

  /**
   * Extracts the {@link RoutingType} annotation to derive the stable
   * routing type.
   */
  private int getRoutingId(Class<?> i) {
    RoutingType routingTypeAnnotation = i.getAnnotation(RoutingType.class);

    Preconditions.checkNotNull(routingTypeAnnotation,
        "RoutingType annotation must be specified for all subclasses of RoutableDto. " +
        i.getName());

    return routingTypeAnnotation.type();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.