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
Source File: PIHandlerImpl.java    From jdk1.8-source-analysis with Apache License 2.0 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 2
Source File: PIHandlerImpl.java    From TencentKona-8 with GNU General Public License v2.0 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 3
Source File: PIHandlerImpl.java    From jdk8u60 with GNU General Public License v2.0 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 4
Source File: PIHandlerImpl.java    From JDKSourceCode1.8 with 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
Source File: PIHandlerImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 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 6
Source File: PIHandlerImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 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 7
Source File: PIHandlerImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 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 8
Source File: PIHandlerImpl.java    From hottub with GNU General Public License v2.0 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 9
Source File: PIHandlerImpl.java    From openjdk-8-source with GNU General Public License v2.0 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 10
Source File: PIHandlerImpl.java    From openjdk-8 with GNU General Public License v2.0 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."
            }
        }
    }
}