Package org.omg.CORBA

Examples of org.omg.CORBA.Contained


            try {
                baseValue = baseValueTypeCode.id();
            } catch (BadKind ex) {
                throw JacORBMessages.MESSAGES.badKindForSuperValueType(id());
            }
            Contained c = repository.lookup_id(baseValue);
            base_value_ref = ValueDefHelper.narrow(c);
        } else
            baseValue = "IDL:omg.org/CORBA/ValueBase:1.0"; // TODO: is this right?

        // Resolve supported interfaces
View Full Code Here


    }

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

    public Contained lookup(String search_name) {
        Contained res = delegate.lookup(search_name);
        return res;
    }
View Full Code Here

    public InterfaceDef[] base_interfaces() {
        if (base_interfaces_ref == null) {
            base_interfaces_ref = new InterfaceDef[base_interfaces.length];
            for (int i = 0; i < base_interfaces_ref.length; ++i) {
                Contained c = repository.lookup_id(base_interfaces[i]);
                base_interfaces_ref[i] = InterfaceDefHelper.narrow(c);
            }
        }

        return base_interfaces_ref;
View Full Code Here

            }

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

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

     */

    protected void setIRObject(org.omg.CORBA.IRObject irobj)
    {
    this.irObject = irobj;
    Contained contained;
        try
        {
            contained = ContainedHelper.narrow((org.omg.CORBA.Object)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 {
                baseValue = baseValueTypeCode.id();
            } catch (BadKind ex) {
                throw JacORBLogger.ROOT_LOGGER.badKindForSuperValueType(id());
            }
            Contained c = repository.lookup_id(baseValue);
            base_value_ref = ValueDefHelper.narrow(c);
        } else
            baseValue = "IDL:omg.org/CORBA/ValueBase:1.0"; // TODO: is this right?

        // Resolve supported interfaces
View Full Code Here

    }

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

    public Contained lookup(String search_name) {
        Contained res = delegate.lookup(search_name);
        return res;
    }
View Full Code Here

    public InterfaceDef[] base_interfaces() {
        if (base_interfaces_ref == null) {
            base_interfaces_ref = new InterfaceDef[base_interfaces.length];
            for (int i = 0; i < base_interfaces_ref.length; ++i) {
                Contained c = repository.lookup_id(base_interfaces[i]);
                base_interfaces_ref[i] = InterfaceDefHelper.narrow(c);
            }
        }

        return base_interfaces_ref;
View Full Code Here

            }

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

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

   public Contained lookup(String search_name)
   {
      logger.debug("InterfaceDefImpl.lookup(\"" + search_name +
                   "\") entered.");
      Contained res = delegate.lookup(search_name);
      logger.debug("InterfaceDefImpl.lookup(\"" + search_name +
                   "\") returning " + ((res == null) ? "null" : "non-null") );
      return res;
      //return delegate.lookup(search_name);
   }
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.