Java Code Examples for org.omg.PortableInterceptor.ORBInitializer#pre_init()

The following examples show how to use org.omg.PortableInterceptor.ORBInitializer#pre_init() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
/**
 * Call pre_init on all ORB initializers
 */
private void preInitORBInitializers( ORBInitInfoImpl info ) {

    // Inform ORBInitInfo we are in pre_init stage
    info.setStage( ORBInitInfoImpl.STAGE_PRE_INIT );

    // Step through each initializer instantiation and call its
    // pre_init.  Ignore any exceptions.
    for( int i = 0; i < orb.getORBData().getORBInitializers().length;
        i++ ) {
        ORBInitializer init = orb.getORBData().getORBInitializers()[i];
        if( init != null ) {
            try {
                init.pre_init( info );
            }
            catch( Exception e ) {
                // As per orbos/99-12-02, section 9.3.1.2, "If there are
                // any exceptions, the ORB shall ignore them and proceed."
            }
        }
    }
}
 
Example 2
/**
 * Call pre_init on all ORB initializers
 */
private void preInitORBInitializers( ORBInitInfoImpl info ) {

    // Inform ORBInitInfo we are in pre_init stage
    info.setStage( ORBInitInfoImpl.STAGE_PRE_INIT );

    // Step through each initializer instantiation and call its
    // pre_init.  Ignore any exceptions.
    for( int i = 0; i < orb.getORBData().getORBInitializers().length;
        i++ ) {
        ORBInitializer init = orb.getORBData().getORBInitializers()[i];
        if( init != null ) {
            try {
                init.pre_init( info );
            }
            catch( Exception e ) {
                // As per orbos/99-12-02, section 9.3.1.2, "If there are
                // any exceptions, the ORB shall ignore them and proceed."
            }
        }
    }
}
 
Example 3
/**
 * Call pre_init on all ORB initializers
 */
private void preInitORBInitializers( ORBInitInfoImpl info ) {

    // Inform ORBInitInfo we are in pre_init stage
    info.setStage( ORBInitInfoImpl.STAGE_PRE_INIT );

    // Step through each initializer instantiation and call its
    // pre_init.  Ignore any exceptions.
    for( int i = 0; i < orb.getORBData().getORBInitializers().length;
        i++ ) {
        ORBInitializer init = orb.getORBData().getORBInitializers()[i];
        if( init != null ) {
            try {
                init.pre_init( info );
            }
            catch( Exception e ) {
                // As per orbos/99-12-02, section 9.3.1.2, "If there are
                // any exceptions, the ORB shall ignore them and proceed."
            }
        }
    }
}
 
Example 4
Source Project: JDKSourceCode1.8   File: PIHandlerImpl.java    License: MIT License 6 votes vote down vote up
/**
 * Call pre_init on all ORB initializers
 */
private void preInitORBInitializers( ORBInitInfoImpl info ) {

    // Inform ORBInitInfo we are in pre_init stage
    info.setStage( ORBInitInfoImpl.STAGE_PRE_INIT );

    // Step through each initializer instantiation and call its
    // pre_init.  Ignore any exceptions.
    for( int i = 0; i < orb.getORBData().getORBInitializers().length;
        i++ ) {
        ORBInitializer init = orb.getORBData().getORBInitializers()[i];
        if( init != null ) {
            try {
                init.pre_init( info );
            }
            catch( Exception e ) {
                // As per orbos/99-12-02, section 9.3.1.2, "If there are
                // any exceptions, the ORB shall ignore them and proceed."
            }
        }
    }
}
 
Example 5
/**
 * Call pre_init on all ORB initializers
 */
private void preInitORBInitializers( ORBInitInfoImpl info ) {

    // Inform ORBInitInfo we are in pre_init stage
    info.setStage( ORBInitInfoImpl.STAGE_PRE_INIT );

    // Step through each initializer instantiation and call its
    // pre_init.  Ignore any exceptions.
    for( int i = 0; i < orb.getORBData().getORBInitializers().length;
        i++ ) {
        ORBInitializer init = orb.getORBData().getORBInitializers()[i];
        if( init != null ) {
            try {
                init.pre_init( info );
            }
            catch( Exception e ) {
                // As per orbos/99-12-02, section 9.3.1.2, "If there are
                // any exceptions, the ORB shall ignore them and proceed."
            }
        }
    }
}
 
Example 6
/**
 * Call pre_init on all ORB initializers
 */
private void preInitORBInitializers( ORBInitInfoImpl info ) {

    // Inform ORBInitInfo we are in pre_init stage
    info.setStage( ORBInitInfoImpl.STAGE_PRE_INIT );

    // Step through each initializer instantiation and call its
    // pre_init.  Ignore any exceptions.
    for( int i = 0; i < orb.getORBData().getORBInitializers().length;
        i++ ) {
        ORBInitializer init = orb.getORBData().getORBInitializers()[i];
        if( init != null ) {
            try {
                init.pre_init( info );
            }
            catch( Exception e ) {
                // As per orbos/99-12-02, section 9.3.1.2, "If there are
                // any exceptions, the ORB shall ignore them and proceed."
            }
        }
    }
}
 
Example 7
/**
 * Call pre_init on all ORB initializers
 */
private void preInitORBInitializers( ORBInitInfoImpl info ) {

    // Inform ORBInitInfo we are in pre_init stage
    info.setStage( ORBInitInfoImpl.STAGE_PRE_INIT );

    // Step through each initializer instantiation and call its
    // pre_init.  Ignore any exceptions.
    for( int i = 0; i < orb.getORBData().getORBInitializers().length;
        i++ ) {
        ORBInitializer init = orb.getORBData().getORBInitializers()[i];
        if( init != null ) {
            try {
                init.pre_init( info );
            }
            catch( Exception e ) {
                // As per orbos/99-12-02, section 9.3.1.2, "If there are
                // any exceptions, the ORB shall ignore them and proceed."
            }
        }
    }
}
 
Example 8
/**
 * Call pre_init on all ORB initializers
 */
private void preInitORBInitializers( ORBInitInfoImpl info ) {

    // Inform ORBInitInfo we are in pre_init stage
    info.setStage( ORBInitInfoImpl.STAGE_PRE_INIT );

    // Step through each initializer instantiation and call its
    // pre_init.  Ignore any exceptions.
    for( int i = 0; i < orb.getORBData().getORBInitializers().length;
        i++ ) {
        ORBInitializer init = orb.getORBData().getORBInitializers()[i];
        if( init != null ) {
            try {
                init.pre_init( info );
            }
            catch( Exception e ) {
                // As per orbos/99-12-02, section 9.3.1.2, "If there are
                // any exceptions, the ORB shall ignore them and proceed."
            }
        }
    }
}
 
Example 9
/**
 * Call pre_init on all ORB initializers
 */
private void preInitORBInitializers( ORBInitInfoImpl info ) {

    // Inform ORBInitInfo we are in pre_init stage
    info.setStage( ORBInitInfoImpl.STAGE_PRE_INIT );

    // Step through each initializer instantiation and call its
    // pre_init.  Ignore any exceptions.
    for( int i = 0; i < orb.getORBData().getORBInitializers().length;
        i++ ) {
        ORBInitializer init = orb.getORBData().getORBInitializers()[i];
        if( init != null ) {
            try {
                init.pre_init( info );
            }
            catch( Exception e ) {
                // As per orbos/99-12-02, section 9.3.1.2, "If there are
                // any exceptions, the ORB shall ignore them and proceed."
            }
        }
    }
}
 
Example 10
/**
 * Call pre_init on all ORB initializers
 */
private void preInitORBInitializers( ORBInitInfoImpl info ) {

    // Inform ORBInitInfo we are in pre_init stage
    info.setStage( ORBInitInfoImpl.STAGE_PRE_INIT );

    // Step through each initializer instantiation and call its
    // pre_init.  Ignore any exceptions.
    for( int i = 0; i < orb.getORBData().getORBInitializers().length;
        i++ ) {
        ORBInitializer init = orb.getORBData().getORBInitializers()[i];
        if( init != null ) {
            try {
                init.pre_init( info );
            }
            catch( Exception e ) {
                // As per orbos/99-12-02, section 9.3.1.2, "If there are
                // any exceptions, the ORB shall ignore them and proceed."
            }
        }
    }
}