Package com.linkedin.restli.internal.server.model.ResourceMethodDescriptor

Examples of com.linkedin.restli.internal.server.model.ResourceMethodDescriptor.InterfaceType


    if (args.length != 5)
      throw new IllegalArgumentException("Bad arguments to code generator");

    final PrintStream outputStream = new PrintStream(new File(args[0]));
    final Class<?> template = Class.forName(args[1]);
    final InterfaceType type = InterfaceType.valueOf(args[2]);
    final String suffix = args[3];
    final boolean useParSeqCtx = Boolean.valueOf(args[4]);

    final GreetingsResourceCodeGenerator gen =
        new GreetingsResourceCodeGenerator(template, type, suffix, useParSeqCtx);
View Full Code Here


    {
      for (ResourceModel model : _rootResources.values())
      {
        for (ResourceMethodDescriptor desc : model.getResourceMethodDescriptors())
        {
          final InterfaceType type = desc.getInterfaceType();
          if (type == InterfaceType.PROMISE || type == InterfaceType.TASK)
          {
            final String fmt =
                "ParSeq based method %s.%s, but no engine given. "
                    + "Check your RestLiServer construction, spring wiring, "
View Full Code Here

TOP

Related Classes of com.linkedin.restli.internal.server.model.ResourceMethodDescriptor.InterfaceType

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.