Package org.omg.CORBA

Examples of org.omg.CORBA.INTF_REPOS


    // write methods on an InterfaceDef,
    // these are not supported at the moment !!

    public void base_interfaces( org.omg.CORBA.InterfaceDef[] a )
    {
        throw new INTF_REPOS(ErrorMsg.IR_Not_Implemented,
                                           org.omg.CORBA.CompletionStatus.COMPLETED_NO);
    }
View Full Code Here


                                                        String version,
                                                        IDLType type,
                                                        org.omg.CORBA.AttributeMode mode
                                                        )
    {
        throw new INTF_REPOS( ErrorMsg.IR_Not_Implemented,
                                            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
    }
View Full Code Here

                                                       org.omg.CORBA.ParameterDescription[] params,
                                                       org.omg.CORBA.ExceptionDef[] exceptions,
                                                       String[] contexts
                                                       )
    {
        throw new INTF_REPOS( ErrorMsg.IR_Not_Implemented,
                                            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
    }
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 ("InterfaceDef " + name + " not defined.");
        }

        Hashtable limited = new Hashtable();

        // analog constants, exceptions etc.
View Full Code Here

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

        org.omg.CORBA.Any a = orb.create_any();

        String def_in = null;
View Full Code Here

        myContainer =
            org.omg.CORBA.ContainedHelper.narrow( defined_in );

        if (myContainer == null)
        {
            throw new INTF_REPOS ("Constant should be in an interface!");
        }

        String def_in_id = myContainer.id();
        id = def_in_id.substring(0,def_in_id.lastIndexOf(":")) +
            "/" + name + ":" + version;
View Full Code Here

                                                 this.logger );
        }
        catch ( Exception e )
        {
            logger.debug("unexpected exception", e);
            throw new INTF_REPOS( ErrorMsg.IR_Not_Implemented,
                                  org.omg.CORBA.CompletionStatus.COMPLETED_NO);
        }

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

        value = (org.jacorb.orb.Any) orb.create_any();
        type_def = IDLType.create( typeCode, containing_repository,
                                   this.logger, this.poa);
        if (typeCode == null)
        {
            throw new INTF_REPOS ("typeCode is null!");
        }
        if (type_def == null)
        {
            throw new INTF_REPOS ("type_def is null!");
        }

        try
        {
            value.insert_object(typeCode,
View Full Code Here

    org.omg.CORBA.ConstantDescription describe_constant()
    {
        if ( ! defined)
        {
            throw new INTF_REPOS ("ConstantDef " + name + " not defined!");
        }
        if( description == null )
        {
            String def_in = null;
            if( myContainer == null )
View Full Code Here

    ///////////////////////////////////////////////////////////
   
    public static final int NO_IR = OMGVMCID.value + 1 ;
   
    public INTF_REPOS noIr( CompletionStatus cs, Throwable t ) {
        INTF_REPOS exc = new INTF_REPOS( NO_IR, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.noIr",
                parameters, OMGSystemException.class, exc ) ;
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.