Examples of bind()


Examples of org.datanucleus.query.expression.Expression.bind()

            ExpressionCompiler comp = new ExpressionCompiler();
            comp.setSymbolTable(symtbl);
            comp.setMethodAliases(queryMethodAliasByPrefix);
            Expression expr = comp.compileExpression(node);
            expr.bind(symtbl);
            return expr;
        }
        return null;
    }
View Full Code Here

Examples of org.datanucleus.query.expression.OrderExpression.bind()

                i=0;
                while (orderIter.hasNext())
                {
                    OrderImpl order = (OrderImpl)orderIter.next();
                    OrderExpression orderExpr = order.getQueryExpression();
                    orderExpr.bind(symtbl);
                    orderExprs[i++] = orderExpr;
                }
            }

            compilation = new QueryCompilation(candidateClass, candidateAlias, symtbl, resultExprs,
View Full Code Here

Examples of org.eclipse.e4.xwt.internal.core.BindingGate.bind()

      return source;
    }

    IBindingContext dataBindingContext = getDataBindingContext();
    BindingGate bindingGate = new BindingGate(dataBindingContext);
    bindingGate.bind(sourceWidget, targetWidget, this);
    if (sourceWidget != null) {
      if (targetType != null && !targetType.isInstance(sourceWidget)) {
        return sourceWidget;     
      }
      // convert to final value
View Full Code Here

Examples of org.eclipse.ui.internal.commands.ICommandImageService.bind()

  public final void setDisabledImageDescriptor(final ImageDescriptor newImage) {
    final String commandId = getActionDefinitionId();
    final int type = CommandImageManager.TYPE_DISABLED;
    final ICommandImageService commandImageService = (ICommandImageService) serviceLocator
        .getService(ICommandImageService.class);
    commandImageService.bind(commandId, type, style, newImage);
  }

  public final void setEnabled(final boolean enabled) {
    if (enabled != this.enabled) {
      final Boolean oldValue = this.enabled ? Boolean.TRUE
View Full Code Here

Examples of org.elasticsearch.common.netty.bootstrap.ServerBootstrap.bind()

                return Channels.pipeline(new EchoServerHandler());
            }
        });

        // Bind and start to accept incoming connections.
        serverBootstrap.bind(new InetSocketAddress(9000));

        ClientBootstrap clientBootstrap = new ClientBootstrap(
                new NioClientSocketChannelFactory(
                        Executors.newCachedThreadPool(),
                        Executors.newCachedThreadPool()));
View Full Code Here

Examples of org.exolab.castor.jdo.OQLQuery.bind()

    }
       
    // Look up the computer and if found in the database,
    // delete ethis object from the database
    computerOql = db.getOQLQuery( "SELECT c FROM myapp.Computer c WHERE id = $1" );
    computerOql.bind( 6 );
    results = computerOql.execute();
    while ( results.hasMore() ) {
      computer = (Computer) results.next();
      writer.println( "Deleting existing computer: " + computer );
      db.remove( computer );
View Full Code Here

Examples of org.exolab.castor.jdo.Query.bind()

        SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");
        Date loadDate = df.parse("2004-04-26");

        String oql = "select t from " + Entity.class.getName() + " t " + " where t.loadDate=$1";
        Query qry = db.getOQLQuery(oql);
        qry.bind(loadDate);
        QueryResults qrs = qry.execute(AccessMode.ReadOnly);
        while (qrs.hasMore()) {
            Entity entity = (Entity) qrs.next();
            if (LOG.isTraceEnabled()) { LOG.trace(entity); }
        }
View Full Code Here

Examples of org.exolab.jms.net.registry.LocalRegistry.bind()

            LocalRegistry registry = _orb.getRegistry();

            RemoteServerConnectionFactory server =
                    new RemoteServerConnectionFactory(_factory, _orb,
                                                      _exportURI);
            registry.bind("server", server.getProxy());
            if (_log.isInfoEnabled()) {
                _log.info("Server accepting connections on " + _exportURI);
            }

            if (_config.getServerConfiguration().getEmbeddedJNDI()) {
View Full Code Here

Examples of org.exolab.jms.net.registry.Registry.bind()

        if (_embeddedService) {
            Registry serverRegistry = _orb.getRegistry();

            Proxy proxy = _orb.exportObject(new EchoServiceImpl());
            serverRegistry.bind(ECHO_SERVICE, proxy);
        } else {
            Properties props = new Properties();
            final String key = "log4j.configuration";
            String log4j = System.getProperty(key);
            if (log4j != null) {
View Full Code Here

Examples of org.formic.wizard.form.GuiForm.bind()

    panel.add(form.createMessagePanel(), "span");
    panel.add(new JLabel(Installer.getString(home)));
    panel.add(eclipseHomeChooser);

    form.bind(home, eclipseHomeChooser.getTextField(),
        new ValidatorBuilder()
        .required()
        .isDirectory()
        .validator(new EclipseHomeValidator())
        .validator());
View Full Code Here
TOP
Copyright © 2015 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.