Package com.linkedin.restli.server.annotations

Examples of com.linkedin.restli.server.annotations.RestLiTemplate


    Class templateClass = resourceClass;
    while (templateClass != Object.class)
    {
      templateClass = templateClass.getSuperclass();

      final RestLiTemplate templateAnnotation = (RestLiTemplate) templateClass.getAnnotation(RestLiTemplate.class);
      if (templateAnnotation != null)
      {
        final Class<? extends Annotation> currentExpect = templateAnnotation.expectedAnnotation();
        if (currentExpect == RestLiCollection.class ||
            currentExpect == RestLiAssociation.class ||
            currentExpect == RestLiSimpleResource.class)
        {
          if (resourceClass.getAnnotation(currentExpect) == null)
View Full Code Here

TOP

Related Classes of com.linkedin.restli.server.annotations.RestLiTemplate

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.