Examples of removeBinding()


Examples of at.bestsolution.efxclipse.runtime.bindings.e4.internal.BindingTable.removeBinding()

        binding.getKeySequence(), binding);
    if (keyBinding != null) {
      if (add) {
        table.addBinding(keyBinding);
      } else {
        table.removeBinding(keyBinding);
      }
    }
  }

  @PreDestroy
View Full Code Here

Examples of com.sun.sgs.app.DataManager.removeBinding()

        } else {
            mgr.removeTransformChangeListener(cell, this);
            mgr.removeViewUpdateListener(cell, this);

            try {
                dm.removeBinding(BINDING_NAME + id);
            } catch (NameNotBoundException nnbe) {
                // we can safely ignore this -- this just means the component
                // is being added before the cell is live, so the first time
                // setLive is called, the binding hasn't been created
                logger.log(Level.FINE, null, nnbe);
View Full Code Here

Examples of com.sun.sgs.app.DataManager.removeBinding()

      public void run() {
    DataManager dataManager = AppContext.getDataManager();
    ManagedChannelListener listener = (ManagedChannelListener)
        dataManager.getBinding(listenerName);
    Channel channel = (Channel) dataManager.getBinding(channelName);
    dataManager.removeBinding(listenerName);
    if (removeListener) {
        dataManager.removeObject(listener);
    }
    dataManager.removeObject(channel);
      }
View Full Code Here

Examples of com.sun.sgs.app.DataManager.removeBinding()

  txnScheduler.runTask(new TestAbstractKernelRunnable() {
      public void run() {
    DataManager dm = AppContext.getDataManager();
    ScalableList<Integer> d = uncheckedCast(dm.getBinding(name));
    dm.removeObject(d);
    dm.removeBinding(name);
      }
  }, taskOwner);

  Thread.sleep(50 * elementsToAdd);
  int countAfterDelete = getObjectCount();
View Full Code Here

Examples of com.sun.sgs.app.DataManager.removeBinding()

  txnScheduler.runTask(new TestAbstractKernelRunnable() {
      public void run() {
    DataManager dm = AppContext.getDataManager();
    ScalableList<Integer> d = uncheckedCast(dm.getBinding(name));
    dm.removeObject(d);
    dm.removeBinding(name);
      }
  }, taskOwner);

  Thread.sleep(1000);
    }
View Full Code Here

Examples of javax.wsdl.Definition.removeBinding()

            Service service = (Service)definition.getServices().values().iterator().next();
            Map<?,?> ports = service.getPorts();
            for (Object o : ports.keySet()) {
                if (((String)o).endsWith("SOAP12port")) {
                    Port p = (Port) ports.remove(o);
                    definition.removeBinding(p.getBinding().getQName());
                    break;
                }
            }

            return definition;
View Full Code Here

Examples of org.apache.qpid.management.common.mbeans.ManagedExchange.removeBinding()

        mbean.createNewBinding(_queue.getName(), "robot");
        mbean.createNewBinding(_queue.getName(), "kitten");

        assertEquals("Should have added two bindings", bindings + 2, _queue.getBindingCount());
       
        mbean.removeBinding(_queue.getName(), "robot");

        assertEquals("Should have one extra binding", bindings + 1, _queue.getBindingCount());
       
        mbean.removeBinding(_queue.getName(), "kitten");
View Full Code Here

Examples of org.apache.qpid.management.common.mbeans.ManagedExchange.removeBinding()

       
        mbean.removeBinding(_queue.getName(), "robot");

        assertEquals("Should have one extra binding", bindings + 1, _queue.getBindingCount());
       
        mbean.removeBinding(_queue.getName(), "kitten");

        assertEquals("Should have original number of binding", bindings, _queue.getBindingCount());
    }
   
    /**
 
View Full Code Here

Examples of org.apache.qpid.management.common.mbeans.ManagedExchange.removeBinding()

        mbean.createNewBinding(_queue.getName(), "robot.#");
        mbean.createNewBinding(_queue.getName(), "#.kitten");

        assertEquals("Should have added two bindings", bindings + 2, _queue.getBindingCount());
       
        mbean.removeBinding(_queue.getName(), "robot.#");

        assertEquals("Should have one extra binding", bindings + 1, _queue.getBindingCount());
       
        mbean.removeBinding(_queue.getName(), "#.kitten");
View Full Code Here

Examples of org.apache.qpid.management.common.mbeans.ManagedExchange.removeBinding()

       
        mbean.removeBinding(_queue.getName(), "robot.#");

        assertEquals("Should have one extra binding", bindings + 1, _queue.getBindingCount());
       
        mbean.removeBinding(_queue.getName(), "#.kitten");

        assertEquals("Should have original number of binding", bindings, _queue.getBindingCount());
    }

    @Override
View Full Code Here
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.