Package org.omg.CORBA

Examples of org.omg.CORBA.INTF_REPOS


    org.omg.CORBA.TypeDescription describe_struct()
    {
        if ( ! defined)
        {
            throw new INTF_REPOS ("Struct " + full_name + " not defined! ");
        }

        return new org.omg.CORBA.TypeDescription(name(),
                                                 id(),
                                                 org.omg.CORBA.ContainedHelper.narrow( defined_in ).id(),
View Full Code Here


    public org.omg.CORBA.TypeCode type()
    {
        if (type == null)
        {
            throw new INTF_REPOS ("Struct TypeCode is null");
        }

        return type;
    }
View Full Code Here

    public org.omg.CORBA.StructMember[] members()
    {
        if ( ! defined)
        {
            throw new INTF_REPOS ("Struct " + full_name + " not defined! ");
        }

        return members;
    }
View Full Code Here



    public void destroy()
    {
        throw new INTF_REPOS(ErrorMsg.IR_Not_Implemented,
                             org.omg.CORBA.CompletionStatus.COMPLETED_NO);
    }
View Full Code Here

    public org.omg.CORBA.ContainedPackage.Description describe()
    {
        if ( ! defined)
        {
            throw new INTF_REPOS ("Struct " + full_name + " not defined! ");
        }

        org.omg.CORBA.Any a = orb.create_any();
        org.omg.CORBA.TypeDescription ed = describe_struct();
        org.omg.CORBA.TypeDescriptionHelper.insert( a, ed );
View Full Code Here

        this.logger = logger;
        this.poa = poa;

        if (tc.kind() != org.omg.CORBA.TCKind.tk_array)
        {
            throw new INTF_REPOS ("Precondition volation: TypeCode must be of kind array");
        }

         def_kind = org.omg.CORBA.DefinitionKind.dk_Array;
         this.ir = ir;
         type = tc;
         try
         {
             size = tc.length();
             element_type = tc.content_type();
             element_type_def = IDLType.createelement_type, ir,
                                                 this.logger, this.poa);
         }
         catch( org.omg.CORBA.TypeCodePackage.BadKind bk )
         {
             // cannot happen because of above test
         }

        if (element_type_def == null)
        {
            throw new INTF_REPOS ("Precondition volation: TypeCode must be of kind array");
        }

        this.logger.debug("New ArrayDef");
    }
View Full Code Here

    public org.omg.CORBA.IDLType original_type_def()
    {
        if (original_type_def == null)
        {
           throw new INTF_REPOS ("Alias " + name () + " has null original_type_def" );
        }
        return original_type_def;
    }
View Full Code Here

        my_dir = new File( path + fileSeparator +
                           ( full_name != null ? full_name : "" ) );

        if ( ! my_dir.isDirectory())
        {
            throw new INTF_REPOS ("no directory : " + path + fileSeparator + full_name);
        }

        this.name = delegator.getName();

        if (this.logger.isDebugEnabled())
View Full Code Here

    {
        this_container =
            org.omg.CORBA.ContainerHelper.narrow( delegator.getReference());
        if (this_container == null)
        {
            throw new INTF_REPOS ("no container !");
        }

        if( delegator instanceof Contained )
        {
            containing_repository = ((Contained)delegator).containing_repository();
            defined_in = ((Contained)delegator).defined_in();
        }
        else
        {
            containing_repository = org.omg.CORBA.
                RepositoryHelper.narrow( delegator.getReference());
            defined_in = containing_repository;
        }

        if (containing_repository == null)
        {
            throw new INTF_REPOS ("no containing repository");
        }

        String[] classes;
        String[] dirs;
View Full Code Here

    public org.omg.CORBA.Contained[] contents(org.omg.CORBA.DefinitionKind limit_type,
                                              boolean exclude_inherited)
    {
        if ( ! defined)
        {
            throw new INTF_REPOS ("contents undefined");
        }

        Hashtable filtered = new Hashtable();

        if( limit_type.value() == org.omg.CORBA.DefinitionKind._dk_all )
View Full Code Here

TOP

Related Classes of org.omg.CORBA.INTF_REPOS

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.