Examples of lookup()


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

        Vfs.lookup(),
        Vfs.lookup(xslName).getParent(),
        CauchoSystem.getResinHome().lookup("scripts")
      };

      Path xslPath = stylePath.lookup(xslName);
      if (xslPath == null) {
        System.out.println("can't find `" + xslName + "'");
        System.exit(1);
      }

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

    Path javaHome = Vfs.lookup(System.getProperty("java.home"));

    if (javaHome.getTail().equals("jre"))
      javaHome = javaHome.getParent();

    if (javaHome.lookup("bin/javaw.exe").canRead())
      return javaHome.lookup("bin/javaw").getNativePath();
    else if (javaHome.lookup("bin/java.exe").canRead())
      return javaHome.lookup("bin/java").getNativePath();
    else if (javaHome.lookup("bin/java").canRead())
      return javaHome.lookup("bin/java").getNativePath();

Examples of com.cedarsoft.lookup.Lookup.lookup()

  protected JComponent createTitleComponent( @NotNull TitleProvider<Object> provider, @NotNull Object selectedObject ) {
    Lookup details = provider.getTitle( selectedObject );

    //Insert the component
    JComponent component;
    DetailsComponentFactory componentFactory = details.lookup( DetailsComponentFactory.class );
    if ( componentFactory != null ) {
      component = componentFactory.createComponent();
    } else {
      component = details.lookup( JComponent.class );
      if ( component == null ) {

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

        env.setGlobalValue("session", env.wrapJava(request.getSession()));
        env.setGlobalValue("servletContext", env.wrapJava(_servletContext));

        String prepend = env.getIniString("auto_prepend_file");
        if (prepend != null) {
          Path prependPath = env.lookup(env.createString(prepend));

          if (prependPath == null)
            env.error("auto_prepend_file '{0}' not found.", prepend);
          else {
            QuercusPage prependPage = php.parse(prependPath);

Examples of com.espertech.esper.epl.join.exec.composite.CompositeIndexLookup.lookup()

        else {
            PropertyCompositeEventTable table = (PropertyCompositeEventTable) eventTable;
            Class[] rangeCoercion = table.getOptRangeCoercedTypes();
            CompositeIndexLookup lookup = CompositeIndexLookupFactory.make(keyValues, rangeValues, rangeCoercion);
            result = new HashSet<EventBean>();
            lookup.lookup(table.getIndex(), result);
        }
        if (result != null) {
            return result;
        }
        return Collections.EMPTY_LIST;

Examples of com.espertech.esper.epl.join.table.PropertyIndexedEventTable.lookup()

        if (indexTable[0] instanceof PropertyIndexedEventTable)
        {
            PropertyIndexedEventTable index = (PropertyIndexedEventTable) indexTable[0];
            Object[] keys = getKeys(lookupEvent, exprEvaluatorContext);

            Set<EventBean> events = index.lookup(keys);
            if (events != null)
            {
                return events.iterator();
            }
            return null;

Examples of com.espertech.esper.epl.join.table.PropertyIndexedEventTableSingle.lookup()

        {
            PropertyIndexedEventTableSingle index = (PropertyIndexedEventTableSingle) indexTable;
            eventsPerStream[lookupStream] = lookupEvent;
            Object key = evaluator.evaluate(eventsPerStream, true, exprEvaluatorContext);

            Set<EventBean> events = index.lookup(key);
            if (events != null)
            {
                return events.iterator();
            }
            return null;

Examples of com.evasion.sam.ejb.JNDIClient.lookup()

        completePropertiesAndLog(PARAM_EJB_JNDI, jndi);
        completePropertiesAndLog(PARAM_PROVIDER_URL, providerUrl);
        completePropertiesAndLogWhtihDefaultValue(PARAM_DIGEST_ALGORITHM, digestAlgorithm, DEFAULT_DIGEST_ALGORITHM);

        JNDIClient ejbClient = new JNDIClient(providerUrl);
        loginEJB = (JaasEjb) ejbClient.lookup(jndi);

    }

    private void completePropertiesAndLog(String propertyName, String propertyValue) {
        LOGGER.info(propertyName + " : " + propertyValue);

Examples of com.google.api.services.datastore.client.Datastore.lookup()

      lreq.addKey(key);
      // Set the transaction, so we get a consistent snapshot of the
      // entity at the time the transaction started.
      lreq.getReadOptionsBuilder().setTransaction(tx);
      // Execute the RPC and get the response.
      LookupResponse lresp = datastore.lookup(lreq.build());
      // Create an RPC request to commit the transaction.
      CommitRequest.Builder creq = CommitRequest.newBuilder();
      // Set the transaction to commit.
      creq.setTransaction(tx);
      Entity entity;

Examples of com.google.dart.engine.internal.scope.LabelScope.lookup()

    if (labelNode == null) {
      if (labelScope == null) {
        // TODO(brianwilkerson) Do we need to report this error, or is this condition always caught in the parser?
        // reportError(ResolverErrorCode.BREAK_OUTSIDE_LOOP);
      } else {
        labelElement = (LabelElementImpl) labelScope.lookup(LabelScope.EMPTY_LABEL);
        if (labelElement == null) {
          // TODO(brianwilkerson) Do we need to report this error, or is this condition always caught in the parser?
          // reportError(ResolverErrorCode.BREAK_OUTSIDE_LOOP);
        }
        //
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.