Examples of unbind()


Examples of org.apache.mina.transport.vmpipe.VmPipeAcceptor.unbind()

        session.write(new TennisBall(10));

        // Wait until the match ends.
        session.getCloseFuture().join();

        acceptor.unbind(address);
    }
}
View Full Code Here

Examples of org.apache.openejb.core.ivm.naming.IvmContext.unbind()

        final IvmContext context = new IvmContext();
        context.bind("global/foo/Bar", "Bar");

        assertEquals("Bar", context.lookup("global/foo/Bar"));

        context.unbind("global/foo/Bar");

        try {
            context.lookup("global/foo/Bar");
            fail();
        } catch (final NamingException ne) {
View Full Code Here

Examples of org.apache.qpid.server.queue.AMQQueue.unBind()

            throw body.getConnectionException(AMQConstant.ACCESS_REFUSED, "Permission denied");
        }

        try
        {
            queue.unBind(exch, routingKey, body.getArguments());
        }
        catch (AMQInvalidRoutingKeyException rke)
        {
            throw body.getChannelException(AMQConstant.INVALID_ROUTING_KEY, routingKey.toString());
        }
View Full Code Here

Examples of org.apache.webbeans.spi.JNDIService.unbind()

            //Fire shut down
            this.beanManager.fireEvent(new BeforeShutdownImpl(), new Annotation[0]);
           
            JNDIService jndiService = ServiceLoader.getService(JNDIService.class);
           
            jndiService.unbind(WebBeansConstants.WEB_BEANS_MANAGER_JNDI_NAME);
                   
            ContextFactory.destroySingletonContext(null);

            // finally free all plugin resources
            PluginLoader.getInstance().shutDown();
View Full Code Here

Examples of org.apache.wicket.pageStore.IPageStore.unbind()

      // WICKET-5164 use the original sessionId
      IPageStore store = getPageStore();
      // store might be null if destroyed already
      if (store != null)
      {
        store.unbind(sessionId);
      }
    }

    @Override
    public boolean equals(Object o)
View Full Code Here

Examples of org.izi.binding.Binding.BindingRegistration.unbind()

      BindingRegistration reg = bind().valueOf(model, ModelForTests.FULL_NAME).after(ModelForTests.NAME, ModelForTests.SURNAME).to(output, ModelForTests.NAME);
      model.setName("John");
      model.setSurname("Smith");
      assertEquals("John Smith", output.getName());

      reg.unbind();
      // when
      model.setName("Jane");
      model.setSurname("Doe");
      // then
      assertEquals("John Smith", output.getName());
View Full Code Here

Examples of org.jboss.as.messaging.jms.AS7BindingRegistry.unbind()

        assertNull(getBinderServiceFor(name));

        assertTrue(registry.bind(name, obj));
        assertNotNull(getBinderServiceFor(name));

        registry.unbind(name);
        assertNull(getBinderServiceFor(name));

        assertTrue(registry.bind(name, obj));
        assertNotNull(getBinderServiceFor(name));
    }
View Full Code Here

Examples of org.jboss.as.naming.NamingStore.unbind()

     * @param context The stop context
     */
    public synchronized void stop(StopContext context) {
        final NamingStore javaContext = this.javaContext.getValue();
        try {
            javaContext.unbind(null, NameParser.INSTANCE.parse(name));
        } catch (NamingException e) {
            throw new IllegalStateException("Failed to unbind EE context: java:" + name, e);
        } finally {
            try {
                store.close();
View Full Code Here

Examples of org.jboss.errai.databinding.client.api.DataBinder.unbind()

    int dotPos = property.indexOf(".");
    if (dotPos > 0) {
      String bindableProperty = property.substring(0, dotPos);
      DataBinder binder = binders.get(bindableProperty);
      if (binder != null) {
        binder.unbind(property.substring(dotPos + 1));
      }
    }
    binding.removeHandler();
    bindings.remove(property, binding);
View Full Code Here

Examples of org.jdesktop.beansbinding.Binding.unbind()

        DialogEscaper.addEscapeListener(this);
    }

    private void fillDepartmentList() {
        Binding binding = bindingGroup.getBinding("departmentListBinding");
        binding.unbind();
        departmentList.addAll(allDepartments);
        binding.bind();
        departmentNameComboBox.repaint();
    }
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.