Package org.omg.CORBA

Examples of org.omg.CORBA.Contained


      if (base_interfaces_ref == null) {
         base_interfaces_ref = new InterfaceDef[base_interfaces.length];
         for (int i = 0; i < base_interfaces_ref.length; ++i) {
            logger.debug("InterfaceDefImpl.base_interfaces(): " +
                         "looking up \"" + base_interfaces[i] + "\".");
            Contained c = repository.lookup_id(base_interfaces[i]);
            logger.debug("InterfaceDefImpl.base_interfaces(): " +
                         "Got: " + ((c==null)? "null" : c.id()));
            base_interfaces_ref[i] = InterfaceDefHelper.narrow(c);
            logger.debug("InterfaceDefImpl.base_interfaces(): " +
                         "ref: " + ((c==null)? "null" : "not null"));
         }
      }
View Full Code Here


                         + baseValue + "\".");
         } catch (BadKind ex) {
            throw new IRConstructionException(
                                    "Bad kind for super-valuetype of " + id());
         }
         Contained c = repository.lookup_id(baseValue);
         logger.debug("ValueDefImpl.allDone(): c is " +
                      ((c==null) ? "null" : "NOT null") );
         base_value_ref = ValueDefHelper.narrow(c);
         logger.debug("ValueDefImpl.allDone(): base_value_ref is " +
                      ((base_value_ref==null) ? "null" : "NOT null") );
View Full Code Here

   // ContainerOperations implementation ----------------------------

   public Contained lookup(String search_name)
   {
      logger.debug("ValueDefImpl.lookup(\"" + search_name + "\") entered.");
      Contained res = delegate.lookup(search_name);
      logger.debug("ValueDefImpl.lookup(\"" + search_name +
                   "\") returning " + ((res == null) ? "null" : "non-null") );
      return res;
      //return delegate.lookup(search_name);
   }
View Full Code Here

/*     */       }
/*     */       catch (BadKind ex) {
/* 169 */         throw new IRConstructionException("Bad kind for super-valuetype of " + id());
/*     */       }
/*     */
/* 172 */       Contained c = this.repository.lookup_id(this.baseValue);
/* 173 */       logger.debug("ValueDefImpl.allDone(): c is " + (c == null ? "null" : "NOT null"));
/*     */
/* 175 */       this.base_value_ref = ValueDefHelper.narrow(c);
/* 176 */       logger.debug("ValueDefImpl.allDone(): base_value_ref is " + (this.base_value_ref == null ? "null" : "NOT null"));
/*     */     }
View Full Code Here

/*     */   }
/*     */
/*     */   public Contained lookup(String search_name)
/*     */   {
/* 221 */     logger.debug("ValueDefImpl.lookup(\"" + search_name + "\") entered.");
/* 222 */     Contained res = this.delegate.lookup(search_name);
/* 223 */     logger.debug("ValueDefImpl.lookup(\"" + search_name + "\") returning " + (res == null ? "null" : "non-null"));
/*     */
/* 225 */     return res;
/*     */   }
View Full Code Here

/*     */
/*     */   public Contained lookup(String search_name)
/*     */   {
/* 150 */     logger.debug("InterfaceDefImpl.lookup(\"" + search_name + "\") entered.");
/*     */
/* 152 */     Contained res = this.delegate.lookup(search_name);
/* 153 */     logger.debug("InterfaceDefImpl.lookup(\"" + search_name + "\") returning " + (res == null ? "null" : "non-null"));
/*     */
/* 155 */     return res;
/*     */   }
View Full Code Here

/* 270 */     if (this.base_interfaces_ref == null) {
/* 271 */       this.base_interfaces_ref = new InterfaceDef[this.base_interfaces.length];
/* 272 */       for (int i = 0; i < this.base_interfaces_ref.length; i++) {
/* 273 */         logger.debug("InterfaceDefImpl.base_interfaces(): looking up \"" + this.base_interfaces[i] + "\".");
/*     */
/* 275 */         Contained c = this.repository.lookup_id(this.base_interfaces[i]);
/* 276 */         logger.debug("InterfaceDefImpl.base_interfaces(): Got: " + (c == null ? "null" : c.id()));
/*     */
/* 278 */         this.base_interfaces_ref[i] = InterfaceDefHelper.narrow(c);
/* 279 */         logger.debug("InterfaceDefImpl.base_interfaces(): ref: " + (c == null ? "null" : "not null"));
/*     */       }
/*     */
View Full Code Here

     * @param irobj
     */
    protected void setIRObject(org.omg.CORBA.IRObject irobj)
    {
    this.irObject = irobj;
    Contained contained;
        try
        {
            contained = ContainedHelper.narrow(irobj);
            setName(contained.name());
            setAbsoluteName(contained.absolute_name());
            versionString = contained.version();
            repositoryID = contained.id();
        }
        catch( org.omg.CORBA.BAD_PARAM bp )
        {
            // narrow failed
        }
View Full Code Here

            }

            // try again using Repository-ID
            try
            {
                Contained contained =
                    ContainedHelper.narrow(irObject);

                result = (TypeSystemNode)knownIRObjects.get(contained.id());
                if (result != null)
                {
//                     Debug.output(2,
//                                  result.getInstanceNodeTypeName()+" "+
//                                  result.getAbsoluteName()+" (cached by id)");
View Full Code Here

                        + baseValue + "\".");
            } catch (BadKind ex) {
                throw new IRConstructionException(
                        "Bad kind for super-valuetype of " + id());
            }
            Contained c = repository.lookup_id(baseValue);
            logger.debug("ValueDefImpl.allDone(): c is " +
                    ((c == null) ? "null" : "NOT null"));
            base_value_ref = ValueDefHelper.narrow(c);
            logger.debug("ValueDefImpl.allDone(): base_value_ref is " +
                    ((base_value_ref == null) ? "null" : "NOT null"));
View Full Code Here

TOP

Related Classes of org.omg.CORBA.Contained

Copyright © 2018 www.massapicom. 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.