Java Code Examples for com.sun.corba.se.spi.orb.ORBConfigurator#configure()
The following examples show how to use
com.sun.corba.se.spi.orb.ORBConfigurator#configure() .
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: ORBConfiguratorImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 6 votes |
private void runUserConfigurators( DataCollector collector, ORB orb ) { // Run any pluggable configurators. This is a lot like // ORBInitializers, only it uses the internal ORB and has // access to all data for parsing. ConfigParser parser = new ConfigParser() ; parser.init( collector ) ; if (parser.userConfigurators != null) { for (int ctr=0; ctr<parser.userConfigurators.length; ctr++) { Class cls = parser.userConfigurators[ctr] ; try { ORBConfigurator config = (ORBConfigurator)(cls.newInstance()) ; config.configure( collector, orb ) ; } catch (Exception exc) { // XXX Log this exception // ignore this for now: a bad user configurator does nothing } } } }
Example 2
Source File: ORBConfiguratorImpl.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
private void runUserConfigurators( DataCollector collector, ORB orb ) { // Run any pluggable configurators. This is a lot like // ORBInitializers, only it uses the internal ORB and has // access to all data for parsing. ConfigParser parser = new ConfigParser() ; parser.init( collector ) ; if (parser.userConfigurators != null) { for (int ctr=0; ctr<parser.userConfigurators.length; ctr++) { Class cls = parser.userConfigurators[ctr] ; try { ORBConfigurator config = (ORBConfigurator)(cls.newInstance()) ; config.configure( collector, orb ) ; } catch (Exception exc) { // XXX Log this exception // ignore this for now: a bad user configurator does nothing } } } }
Example 3
Source File: ORBConfiguratorImpl.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
private void runUserConfigurators( DataCollector collector, ORB orb ) { // Run any pluggable configurators. This is a lot like // ORBInitializers, only it uses the internal ORB and has // access to all data for parsing. ConfigParser parser = new ConfigParser() ; parser.init( collector ) ; if (parser.userConfigurators != null) { for (int ctr=0; ctr<parser.userConfigurators.length; ctr++) { Class cls = parser.userConfigurators[ctr] ; try { ORBConfigurator config = (ORBConfigurator)(cls.newInstance()) ; config.configure( collector, orb ) ; } catch (Exception exc) { // XXX Log this exception // ignore this for now: a bad user configurator does nothing } } } }
Example 4
Source File: ORBConfiguratorImpl.java From JDKSourceCode1.8 with MIT License | 6 votes |
private void runUserConfigurators( DataCollector collector, ORB orb ) { // Run any pluggable configurators. This is a lot like // ORBInitializers, only it uses the internal ORB and has // access to all data for parsing. ConfigParser parser = new ConfigParser() ; parser.init( collector ) ; if (parser.userConfigurators != null) { for (int ctr=0; ctr<parser.userConfigurators.length; ctr++) { Class cls = parser.userConfigurators[ctr] ; try { ORBConfigurator config = (ORBConfigurator)(cls.newInstance()) ; config.configure( collector, orb ) ; } catch (Exception exc) { // XXX Log this exception // ignore this for now: a bad user configurator does nothing } } } }
Example 5
Source File: ORBConfiguratorImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
private void runUserConfigurators( DataCollector collector, ORB orb ) { // Run any pluggable configurators. This is a lot like // ORBInitializers, only it uses the internal ORB and has // access to all data for parsing. ConfigParser parser = new ConfigParser() ; parser.init( collector ) ; if (parser.userConfigurators != null) { for (int ctr=0; ctr<parser.userConfigurators.length; ctr++) { Class cls = parser.userConfigurators[ctr] ; try { ORBConfigurator config = (ORBConfigurator)(cls.newInstance()) ; config.configure( collector, orb ) ; } catch (Exception exc) { // XXX Log this exception // ignore this for now: a bad user configurator does nothing } } } }
Example 6
Source File: ORBConfiguratorImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
private void runUserConfigurators( DataCollector collector, ORB orb ) { // Run any pluggable configurators. This is a lot like // ORBInitializers, only it uses the internal ORB and has // access to all data for parsing. ConfigParser parser = new ConfigParser() ; parser.init( collector ) ; if (parser.userConfigurators != null) { for (int ctr=0; ctr<parser.userConfigurators.length; ctr++) { Class cls = parser.userConfigurators[ctr] ; try { ORBConfigurator config = (ORBConfigurator)(cls.newInstance()) ; config.configure( collector, orb ) ; } catch (Exception exc) { // XXX Log this exception // ignore this for now: a bad user configurator does nothing } } } }
Example 7
Source File: ORBConfiguratorImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
private void runUserConfigurators( DataCollector collector, ORB orb ) { // Run any pluggable configurators. This is a lot like // ORBInitializers, only it uses the internal ORB and has // access to all data for parsing. ConfigParser parser = new ConfigParser() ; parser.init( collector ) ; if (parser.userConfigurators != null) { for (int ctr=0; ctr<parser.userConfigurators.length; ctr++) { Class cls = parser.userConfigurators[ctr] ; try { ORBConfigurator config = (ORBConfigurator)(cls.newInstance()) ; config.configure( collector, orb ) ; } catch (Exception exc) { // XXX Log this exception // ignore this for now: a bad user configurator does nothing } } } }
Example 8
Source File: ORBConfiguratorImpl.java From hottub with GNU General Public License v2.0 | 6 votes |
private void runUserConfigurators( DataCollector collector, ORB orb ) { // Run any pluggable configurators. This is a lot like // ORBInitializers, only it uses the internal ORB and has // access to all data for parsing. ConfigParser parser = new ConfigParser() ; parser.init( collector ) ; if (parser.userConfigurators != null) { for (int ctr=0; ctr<parser.userConfigurators.length; ctr++) { Class cls = parser.userConfigurators[ctr] ; try { ORBConfigurator config = (ORBConfigurator)(cls.newInstance()) ; config.configure( collector, orb ) ; } catch (Exception exc) { // XXX Log this exception // ignore this for now: a bad user configurator does nothing } } } }
Example 9
Source File: ORBConfiguratorImpl.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
private void runUserConfigurators( DataCollector collector, ORB orb ) { // Run any pluggable configurators. This is a lot like // ORBInitializers, only it uses the internal ORB and has // access to all data for parsing. ConfigParser parser = new ConfigParser() ; parser.init( collector ) ; if (parser.userConfigurators != null) { for (int ctr=0; ctr<parser.userConfigurators.length; ctr++) { Class cls = parser.userConfigurators[ctr] ; try { ORBConfigurator config = (ORBConfigurator)(cls.newInstance()) ; config.configure( collector, orb ) ; } catch (Exception exc) { // XXX Log this exception // ignore this for now: a bad user configurator does nothing } } } }
Example 10
Source File: ORBConfiguratorImpl.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
private void runUserConfigurators( DataCollector collector, ORB orb ) { // Run any pluggable configurators. This is a lot like // ORBInitializers, only it uses the internal ORB and has // access to all data for parsing. ConfigParser parser = new ConfigParser() ; parser.init( collector ) ; if (parser.userConfigurators != null) { for (int ctr=0; ctr<parser.userConfigurators.length; ctr++) { Class cls = parser.userConfigurators[ctr] ; try { ORBConfigurator config = (ORBConfigurator)(cls.newInstance()) ; config.configure( collector, orb ) ; } catch (Exception exc) { // XXX Log this exception // ignore this for now: a bad user configurator does nothing } } } }