Examples of unBind()


Examples of org.jnp.interfaces.Naming.unbind()

//      ctx.unbind(NAME);
     
      Naming namingServer = naming.getNamingInstance();
      try
      {
         namingServer.unbind(parser.parse(SUBCONTEXT_NAME + "/" + NAME));
         log.info("Unbound " + SUBCONTEXT_NAME + "/" + NAME + " from " + namingServer);
      }
      catch (NameNotFoundException ignored)
      {
         // already unbound by test
View Full Code Here

Examples of org.mom4j.api.JNDIContextHandler.unbind()

        map.remove(name);

        JNDIContextHandler handler = (JNDIContextHandler)this.ctxHandlers.get(path);
        if(handler != null) {
            handler.unbind(name);
        }
    }
   
   
    public Object lookup(String path, String name) {
View Full Code Here

Examples of org.odmg.Database.unbind()

        }

        try
        {
            tx.begin();
            db.unbind(bindingName);
            tx.commit();
        }
        catch (ObjectNameNotFoundException ex)
        {
            fail("Can't unbind " + bindingName + ": "+ex.getMessage());
View Full Code Here

Examples of org.omg.CosNaming.NamingContext.unbind()

            }
            catch (Throwable e) {
               log.warning("Can't unregister CORBA NameService context id=" + nameXmlBlaster[0].id + " kind=" + nameXmlBlaster[0].kind + " failed: " + e.toString());
            }
            if (relativeContext != null) {
               relativeContext.unbind(nameNode);
            }
         }
         namingContextExt = null;
      }
      catch (Throwable e) {
View Full Code Here

Examples of org.omg.CosNaming.NamingContextExt.unbind()

                                   + CorbaNamingService.NAMING_NAME));

         // Unregister bean home from local CORBA naming context
         try {
            NameComponent[] name = corbaContext.to_name(jndiName);
            corbaContext.unbind(name);
         }
         catch (InvalidName invalidName) {
            logger.error("Cannot unregister EJBHome from CORBA naming service",
                         invalidName);
         }
View Full Code Here

Examples of org.openswing.swing.form.client.Form.unbind()

                  ex1.printStackTrace();
                }
                if (companiesList.size()>0)
                  form.getVOModel().setValue(getAttributeName(),companiesList.get(0));
                try {
                  form.unbind(CompaniesComboControl.this);
                }
                catch (Exception ex) {
                  ex.printStackTrace();
                }
              }
View Full Code Here

Examples of org.springframework.ldap.core.LdapTemplate.unbind()

        case BIND:
            Attributes attributes = (Attributes) body.get(ATTRIBUTES);
            ldapTemplate.bind(dn, null, attributes);
            break;
        case UNBIND:
            ldapTemplate.unbind(dn);
            break;
        default:
            throw new UnsupportedOperationException(
                    "Bug in the Spring-LDAP component. Despite of all assertions, you managed to call an unsupported operation '"
                            + operation + "'");
View Full Code Here

Examples of org.springframework.xd.dirt.test.sink.NamedChannelSink.unbind()

    source.sendPayload("hello");
    Object result = sink.receivePayload(1000);

    assertEquals("hello", result);
    source.unbind();
    sink.unbind();
  }

  @Override
  protected Map<String, String> onDemandProperties() {
    return Collections.singletonMap("module.router.producer.deliveryMode", "NON_PERSISTENT");
View Full Code Here

Examples of org.springframework.xd.dirt.test.source.NamedChannelSource.unbind()

    Thread.sleep(1000);
    source.sendPayload("hello");
    Object result = sink.receivePayload(1000);

    assertEquals("hello", result);
    source.unbind();
    sink.unbind();
  }

  @Override
  protected Map<String, String> onDemandProperties() {
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.