Examples of lookUp()


Examples of ch.inftec.ju.ee.client.JndiServiceLocator.lookup()

        Path localRoot = Paths.get(".").toAbsolutePath();
        context.setLocalRoot(localRoot.toString());
       
        JndiServiceLocator serviceLocator = ServiceLocatorBuilder.createRemoteByConfigurationFiles();
       
        TestRunnerFacade testRunnerFacade = serviceLocator.lookup(TestRunnerFacade.class);
        this.doEvaluation(testRunnerFacade, context);
      } catch (Throwable t) {
        throw this.getActualThrowable(t);
      }
    }

Examples of com.atilika.kuromoji.trie.DoubleArrayTrie.lookup()

        System.out.print("  processing target map...");
        for (Entry<Integer, String> entry : tokenInfoBuilder.entrySet()) {
            int tokenInfoId = entry.getKey();
            String surfaceForm = entry.getValue();
            int doubleArrayId = trie.lookup(surfaceForm);
            assert doubleArrayId > 0;
            tokenInfoDictionary.addMapping(doubleArrayId, tokenInfoId);
        }
        tokenInfoDictionary.write(outputDirname);

Examples of com.barchart.feed.client.provider.BarchartFeedReceiver.lookup()

    final MarketInstrument[] instruments = new MarketInstrument[args.length
        - INST_START];

    for (int i = INST_START; i < args.length; i++) {
      instruments[i - INST_START] = client.lookup(args[i]);
    }

    if (args[0].equals("TCP")) {
      client.listenTCP(Integer.parseInt(args[1]), false);
    } else if (args[0].equals("UDP")) {

Examples of com.bj58.spat.gaea.server.contract.annotation.ServiceBehavior.lookUP()

    ClassInfo ci = new ClassInfo();
    ci.setCls(cls);
    ci.setClassType(ClassInfo.ClassType.CLASS);

    if(behaviorAnn != null && !behaviorAnn.lookUP().equalsIgnoreCase(AnnotationUtil.DEFAULT_VALUE)) {
      ci.setLookUP(behaviorAnn.lookUP());
    } else {
      ci.setLookUP(cls.getSimpleName());
    }
    Method[] methods = cls.getDeclaredMethods();

Examples of com.caucho.db.index.BTree.lookup()

    if (index == null)
      return;

    long value
      = index.lookup(block, rowOffset + getColumnOffset(), getLength());

    if (value != rowAddr)
      throw new IllegalStateException(L.l("invalid index '{0}' at {1}",
                                          value, Long.toHexString(rowAddr)));
  }

Examples of com.caucho.hessian.io.HessianRemoteResolver.lookup()

    throws IOException
  {
    HessianRemoteResolver resolver = getRemoteResolver();

    if (resolver != null)
      return resolver.lookup(type, url);
    else
      return new BurlapRemote(type, url);
  }

  /**
 

Examples of com.caucho.naming.ContextImpl.lookup()

    AbstractModel model = InitialContextFactoryImpl.createRoot();

    Context context = new ContextImpl(model, (Hashtable) env);

    if (obj != null)
      return context.lookup((String) obj);
    else
      return context;
  }
}

Examples of com.caucho.quercus.env.Env.lookup()

        // env.setGlobalValue("servletContext", env.wrapJava(_servletContext));

        StringValue prepend
          = quercus.getIniValue("auto_prepend_file").toStringValue(env);
        if (prepend.length() > 0) {
          Path prependPath = env.lookup(prepend);
         
          if (prependPath == null)
            env.error(L.l("auto_prepend_file '{0}' not found.", prepend));
          else {
            QuercusPage prependPage = getQuercus().parse(prependPath);

Examples of com.caucho.vfs.FilePath.lookup()

    getQuercus().setPwd(pwd);

    // need to set these for non-Resin containers
    if (! Alarm.isTest() && ! getQuercus().isResin()) {
      Vfs.setPwd(pwd);
      WorkDir.setLocalWorkDir(pwd.lookup("WEB-INF/work"));
    }

    getQuercus().init();
    getQuercus().start();
  }

Examples of com.caucho.vfs.JarPath.lookup()

      manifestPath = path.lookup("META-INF/MANIFEST.MF");
      contextPath = path;
    }
    else {
      JarPath jar = JarPath.create(path);
      manifestPath = jar.lookup("META-INF/MANIFEST.MF");
      contextPath = path.getParent();
    }

    if (manifestPath.canRead()) {
      ReadStream is = manifestPath.openRead();
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.