Java Code Examples for com.sun.corba.se.spi.orb.ORB#setURLOperation()
The following examples show how to use
com.sun.corba.se.spi.orb.ORB#setURLOperation() .
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 initializeNaming( ORB orb ) { LocalResolver localResolver = ResolverDefault.makeLocalResolver() ; orb.setLocalResolver( localResolver ) ; Resolver bootResolver = ResolverDefault.makeBootstrapResolver( orb, orb.getORBData().getORBInitialHost(), orb.getORBData().getORBInitialPort() ) ; Operation urlOperation = ResolverDefault.makeINSURLOperation( orb, bootResolver ) ; orb.setURLOperation( urlOperation ) ; Resolver irResolver = ResolverDefault.makeORBInitRefResolver( urlOperation, orb.getORBData().getORBInitialReferences() ) ; Resolver dirResolver = ResolverDefault.makeORBDefaultInitRefResolver( urlOperation, orb.getORBData().getORBDefaultInitialReference() ) ; Resolver resolver = ResolverDefault.makeCompositeResolver( localResolver, ResolverDefault.makeCompositeResolver( irResolver, ResolverDefault.makeCompositeResolver( dirResolver, bootResolver ) ) ) ; orb.setResolver( resolver ) ; }
Example 2
Source File: ORBConfiguratorImpl.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
private void initializeNaming( ORB orb ) { LocalResolver localResolver = ResolverDefault.makeLocalResolver() ; orb.setLocalResolver( localResolver ) ; Resolver bootResolver = ResolverDefault.makeBootstrapResolver( orb, orb.getORBData().getORBInitialHost(), orb.getORBData().getORBInitialPort() ) ; Operation urlOperation = ResolverDefault.makeINSURLOperation( orb, bootResolver ) ; orb.setURLOperation( urlOperation ) ; Resolver irResolver = ResolverDefault.makeORBInitRefResolver( urlOperation, orb.getORBData().getORBInitialReferences() ) ; Resolver dirResolver = ResolverDefault.makeORBDefaultInitRefResolver( urlOperation, orb.getORBData().getORBDefaultInitialReference() ) ; Resolver resolver = ResolverDefault.makeCompositeResolver( localResolver, ResolverDefault.makeCompositeResolver( irResolver, ResolverDefault.makeCompositeResolver( dirResolver, bootResolver ) ) ) ; orb.setResolver( resolver ) ; }
Example 3
Source File: ORBConfiguratorImpl.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
private void initializeNaming( ORB orb ) { LocalResolver localResolver = ResolverDefault.makeLocalResolver() ; orb.setLocalResolver( localResolver ) ; Resolver bootResolver = ResolverDefault.makeBootstrapResolver( orb, orb.getORBData().getORBInitialHost(), orb.getORBData().getORBInitialPort() ) ; Operation urlOperation = ResolverDefault.makeINSURLOperation( orb, bootResolver ) ; orb.setURLOperation( urlOperation ) ; Resolver irResolver = ResolverDefault.makeORBInitRefResolver( urlOperation, orb.getORBData().getORBInitialReferences() ) ; Resolver dirResolver = ResolverDefault.makeORBDefaultInitRefResolver( urlOperation, orb.getORBData().getORBDefaultInitialReference() ) ; Resolver resolver = ResolverDefault.makeCompositeResolver( localResolver, ResolverDefault.makeCompositeResolver( irResolver, ResolverDefault.makeCompositeResolver( dirResolver, bootResolver ) ) ) ; orb.setResolver( resolver ) ; }
Example 4
Source File: ORBConfiguratorImpl.java From JDKSourceCode1.8 with MIT License | 6 votes |
private void initializeNaming( ORB orb ) { LocalResolver localResolver = ResolverDefault.makeLocalResolver() ; orb.setLocalResolver( localResolver ) ; Resolver bootResolver = ResolverDefault.makeBootstrapResolver( orb, orb.getORBData().getORBInitialHost(), orb.getORBData().getORBInitialPort() ) ; Operation urlOperation = ResolverDefault.makeINSURLOperation( orb, bootResolver ) ; orb.setURLOperation( urlOperation ) ; Resolver irResolver = ResolverDefault.makeORBInitRefResolver( urlOperation, orb.getORBData().getORBInitialReferences() ) ; Resolver dirResolver = ResolverDefault.makeORBDefaultInitRefResolver( urlOperation, orb.getORBData().getORBDefaultInitialReference() ) ; Resolver resolver = ResolverDefault.makeCompositeResolver( localResolver, ResolverDefault.makeCompositeResolver( irResolver, ResolverDefault.makeCompositeResolver( dirResolver, bootResolver ) ) ) ; orb.setResolver( resolver ) ; }
Example 5
Source File: ORBConfiguratorImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
private void initializeNaming( ORB orb ) { LocalResolver localResolver = ResolverDefault.makeLocalResolver() ; orb.setLocalResolver( localResolver ) ; Resolver bootResolver = ResolverDefault.makeBootstrapResolver( orb, orb.getORBData().getORBInitialHost(), orb.getORBData().getORBInitialPort() ) ; Operation urlOperation = ResolverDefault.makeINSURLOperation( orb, bootResolver ) ; orb.setURLOperation( urlOperation ) ; Resolver irResolver = ResolverDefault.makeORBInitRefResolver( urlOperation, orb.getORBData().getORBInitialReferences() ) ; Resolver dirResolver = ResolverDefault.makeORBDefaultInitRefResolver( urlOperation, orb.getORBData().getORBDefaultInitialReference() ) ; Resolver resolver = ResolverDefault.makeCompositeResolver( localResolver, ResolverDefault.makeCompositeResolver( irResolver, ResolverDefault.makeCompositeResolver( dirResolver, bootResolver ) ) ) ; orb.setResolver( resolver ) ; }
Example 6
Source File: ORBConfiguratorImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
private void initializeNaming( ORB orb ) { LocalResolver localResolver = ResolverDefault.makeLocalResolver() ; orb.setLocalResolver( localResolver ) ; Resolver bootResolver = ResolverDefault.makeBootstrapResolver( orb, orb.getORBData().getORBInitialHost(), orb.getORBData().getORBInitialPort() ) ; Operation urlOperation = ResolverDefault.makeINSURLOperation( orb, bootResolver ) ; orb.setURLOperation( urlOperation ) ; Resolver irResolver = ResolverDefault.makeORBInitRefResolver( urlOperation, orb.getORBData().getORBInitialReferences() ) ; Resolver dirResolver = ResolverDefault.makeORBDefaultInitRefResolver( urlOperation, orb.getORBData().getORBDefaultInitialReference() ) ; Resolver resolver = ResolverDefault.makeCompositeResolver( localResolver, ResolverDefault.makeCompositeResolver( irResolver, ResolverDefault.makeCompositeResolver( dirResolver, bootResolver ) ) ) ; orb.setResolver( resolver ) ; }
Example 7
Source File: ORBConfiguratorImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
private void initializeNaming( ORB orb ) { LocalResolver localResolver = ResolverDefault.makeLocalResolver() ; orb.setLocalResolver( localResolver ) ; Resolver bootResolver = ResolverDefault.makeBootstrapResolver( orb, orb.getORBData().getORBInitialHost(), orb.getORBData().getORBInitialPort() ) ; Operation urlOperation = ResolverDefault.makeINSURLOperation( orb, bootResolver ) ; orb.setURLOperation( urlOperation ) ; Resolver irResolver = ResolverDefault.makeORBInitRefResolver( urlOperation, orb.getORBData().getORBInitialReferences() ) ; Resolver dirResolver = ResolverDefault.makeORBDefaultInitRefResolver( urlOperation, orb.getORBData().getORBDefaultInitialReference() ) ; Resolver resolver = ResolverDefault.makeCompositeResolver( localResolver, ResolverDefault.makeCompositeResolver( irResolver, ResolverDefault.makeCompositeResolver( dirResolver, bootResolver ) ) ) ; orb.setResolver( resolver ) ; }
Example 8
Source File: ORBConfiguratorImpl.java From hottub with GNU General Public License v2.0 | 6 votes |
private void initializeNaming( ORB orb ) { LocalResolver localResolver = ResolverDefault.makeLocalResolver() ; orb.setLocalResolver( localResolver ) ; Resolver bootResolver = ResolverDefault.makeBootstrapResolver( orb, orb.getORBData().getORBInitialHost(), orb.getORBData().getORBInitialPort() ) ; Operation urlOperation = ResolverDefault.makeINSURLOperation( orb, bootResolver ) ; orb.setURLOperation( urlOperation ) ; Resolver irResolver = ResolverDefault.makeORBInitRefResolver( urlOperation, orb.getORBData().getORBInitialReferences() ) ; Resolver dirResolver = ResolverDefault.makeORBDefaultInitRefResolver( urlOperation, orb.getORBData().getORBDefaultInitialReference() ) ; Resolver resolver = ResolverDefault.makeCompositeResolver( localResolver, ResolverDefault.makeCompositeResolver( irResolver, ResolverDefault.makeCompositeResolver( dirResolver, bootResolver ) ) ) ; orb.setResolver( resolver ) ; }
Example 9
Source File: ORBConfiguratorImpl.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
private void initializeNaming( ORB orb ) { LocalResolver localResolver = ResolverDefault.makeLocalResolver() ; orb.setLocalResolver( localResolver ) ; Resolver bootResolver = ResolverDefault.makeBootstrapResolver( orb, orb.getORBData().getORBInitialHost(), orb.getORBData().getORBInitialPort() ) ; Operation urlOperation = ResolverDefault.makeINSURLOperation( orb, bootResolver ) ; orb.setURLOperation( urlOperation ) ; Resolver irResolver = ResolverDefault.makeORBInitRefResolver( urlOperation, orb.getORBData().getORBInitialReferences() ) ; Resolver dirResolver = ResolverDefault.makeORBDefaultInitRefResolver( urlOperation, orb.getORBData().getORBDefaultInitialReference() ) ; Resolver resolver = ResolverDefault.makeCompositeResolver( localResolver, ResolverDefault.makeCompositeResolver( irResolver, ResolverDefault.makeCompositeResolver( dirResolver, bootResolver ) ) ) ; orb.setResolver( resolver ) ; }
Example 10
Source File: ORBConfiguratorImpl.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
private void initializeNaming( ORB orb ) { LocalResolver localResolver = ResolverDefault.makeLocalResolver() ; orb.setLocalResolver( localResolver ) ; Resolver bootResolver = ResolverDefault.makeBootstrapResolver( orb, orb.getORBData().getORBInitialHost(), orb.getORBData().getORBInitialPort() ) ; Operation urlOperation = ResolverDefault.makeINSURLOperation( orb, bootResolver ) ; orb.setURLOperation( urlOperation ) ; Resolver irResolver = ResolverDefault.makeORBInitRefResolver( urlOperation, orb.getORBData().getORBInitialReferences() ) ; Resolver dirResolver = ResolverDefault.makeORBDefaultInitRefResolver( urlOperation, orb.getORBData().getORBDefaultInitialReference() ) ; Resolver resolver = ResolverDefault.makeCompositeResolver( localResolver, ResolverDefault.makeCompositeResolver( irResolver, ResolverDefault.makeCompositeResolver( dirResolver, bootResolver ) ) ) ; orb.setResolver( resolver ) ; }