Package org.jacorb.naming

Examples of org.jacorb.naming.Name.components()


                throw new CannotProceed(_this(), n.components());

            JacORBLogger.ROOT_LOGGER.debugBoundContext(n.toString());
        } else {
            NameComponent[] ncx = new NameComponent[]{nb};
            org.omg.CORBA.Object context = this.resolve(ctx.components());

            // try first to call the context implementation object directly.
            String contextOID = this.getObjectOID(context);
            CorbaNamingContext jbossContext = (contextOID == null ? null : contextImpls.get(contextOID));
            if (jbossContext != null)
View Full Code Here


            this.names.put(n, obj);
            JacORBLogger.ROOT_LOGGER.debugBoundName(n.toString());
        } else {
            // rebind in the correct context
            NameComponent[] ncx = new NameComponent[]{nb};
            org.omg.CORBA.Object context = this.resolve(ctx.components());

            // try first to call the context implementation object directly.
            String contextOID = this.getObjectOID(context);
            CorbaNamingContext jbossContext = (contextOID == null ? null : contextImpls.get(contextOID));
            if (jbossContext != null)
View Full Code Here

            this.contexts.put(n, obj);
            JacORBLogger.ROOT_LOGGER.debugBoundContext(n.baseNameComponent().id);
        } else {
            // rebind in the correct context
            NameComponent[] ncx = new NameComponent[]{nb};
            org.omg.CORBA.Object context = this.resolve(ctx.components());

            // try first to call the context implementation object directly.
            String contextOID = this.getObjectOID(context);
            CorbaNamingContext jbossContext = (contextOID == null ? null : contextImpls.get(contextOID));
            if (jbossContext != null)
View Full Code Here

            if (result == null)
                result = (org.omg.CORBA.Object) this.names.get(n);

            if (result == null)
                throw new NotFound(NotFoundReason.missing_node, n.components());

            if (!noPing && isDead(result))
                throw new NotFound(NotFoundReason.missing_node, n.components());

            return result;
View Full Code Here

            if (result == null)
                throw new NotFound(NotFoundReason.missing_node, n.components());

            if (!noPing && isDead(result))
                throw new NotFound(NotFoundReason.missing_node, n.components());

            return result;
        }
    }
View Full Code Here

                JacORBLogger.ROOT_LOGGER.failedToUnbindObject(n.toString());
                throw new NotFound(NotFoundReason.not_context, n.components());
            }
        } else {
            NameComponent[] ncx = new NameComponent[]{nb};
            org.omg.CORBA.Object context = this.resolve(ctx.components());

            // try first to call the context implementation object directly.
            String contextOID = this.getObjectOID(context);
            CorbaNamingContext jbossContext = (contextOID == null ? null : contextImpls.get(contextOID));
            if (jbossContext != null)
View Full Code Here

  {
      Name bindname = new Name(name);
      if( context == null )
    System.err.println("context null ");

      if( bindname.components() == null )
    System.err.println("name is null ");

      context.bind_new_context(bindname.components());
      update();
  }
View Full Code Here

    System.err.println("context null ");

      if( bindname.components() == null )
    System.err.println("name is null ");

      context.bind_new_context(bindname.components());
      update();
  }
  else
  {
      JOptionPane.showMessageDialog(this,
View Full Code Here

  {
      Name bindname = new Name(name);
      if( context == null )
    System.err.println("context null ");

      if( bindname.components() == null )
    System.err.println("name is null ");
                                                  
            try
            {                                                  
                context.bind( bindname.components(), orb.string_to_object( ior ));
View Full Code Here

      if( bindname.components() == null )
    System.err.println("name is null ");
                                                  
            try
            {                                                  
                context.bind( bindname.components(), orb.string_to_object( ior ));
            }
            catch( AlreadyBound ab )
            {
                if (isRebind)
                    context.rebind( bindname.components(), orb.string_to_object( ior ));
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.