com.sun.corba.se.spi.resolver.LocalResolver Java Examples

The following examples show how to use com.sun.corba.se.spi.resolver.LocalResolver. 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 openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
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 openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
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 openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
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 jdk1.8-source-analysis with Apache License 2.0 6 votes vote down vote up
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 hottub with GNU General Public License v2.0 6 votes vote down vote up
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-8 with GNU General Public License v2.0 6 votes vote down vote up
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 TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
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 JDKSourceCode1.8 with MIT License 6 votes vote down vote up
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-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
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 jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
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 #11
Source File: ORBImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/** Get the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public LocalResolver getLocalResolver()
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        return localResolver ;
    }
}
 
Example #12
Source File: ORBImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/** Get the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public LocalResolver getLocalResolver()
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        return localResolver ;
    }
}
 
Example #13
Source File: ORBImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/** Set the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public void setLocalResolver( LocalResolver resolver )
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        this.localResolver = resolver ;
    }
}
 
Example #14
Source File: ORBImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/** Get the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public LocalResolver getLocalResolver()
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        return localResolver ;
    }
}
 
Example #15
Source File: ORBImpl.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
/** Set the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public void setLocalResolver( LocalResolver resolver )
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        this.localResolver = resolver ;
    }
}
 
Example #16
Source File: ORBImpl.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
/** Get the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public LocalResolver getLocalResolver()
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        return localResolver ;
    }
}
 
Example #17
Source File: ORBImpl.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/** Set the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public void setLocalResolver( LocalResolver resolver )
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        this.localResolver = resolver ;
    }
}
 
Example #18
Source File: ORBImpl.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/** Get the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public LocalResolver getLocalResolver()
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        return localResolver ;
    }
}
 
Example #19
Source File: ORBImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/** Set the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public void setLocalResolver( LocalResolver resolver )
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        this.localResolver = resolver ;
    }
}
 
Example #20
Source File: ORBImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/** Get the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public LocalResolver getLocalResolver()
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        return localResolver ;
    }
}
 
Example #21
Source File: ORBImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/** Set the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public void setLocalResolver( LocalResolver resolver )
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        this.localResolver = resolver ;
    }
}
 
Example #22
Source File: ORBImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/** Get the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public LocalResolver getLocalResolver()
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        return localResolver ;
    }
}
 
Example #23
Source File: ORBImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/** Get the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public LocalResolver getLocalResolver()
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        return localResolver ;
    }
}
 
Example #24
Source File: ORBImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/** Set the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public void setLocalResolver( LocalResolver resolver )
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        this.localResolver = resolver ;
    }
}
 
Example #25
Source File: ORBImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/** Get the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public LocalResolver getLocalResolver()
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        return localResolver ;
    }
}
 
Example #26
Source File: ORBImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/** Set the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public void setLocalResolver( LocalResolver resolver )
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        this.localResolver = resolver ;
    }
}
 
Example #27
Source File: ORBImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/** Get the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public LocalResolver getLocalResolver()
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        return localResolver ;
    }
}
 
Example #28
Source File: ORBImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/** Set the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public void setLocalResolver( LocalResolver resolver )
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        this.localResolver = resolver ;
    }
}
 
Example #29
Source File: ORBImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/** Set the LocalResolver used in this ORB.  This LocalResolver is used for
 * register_initial_reference only.
 */
public void setLocalResolver( LocalResolver resolver )
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        this.localResolver = resolver ;
    }
}
 
Example #30
Source File: ORBSingleton.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public LocalResolver getLocalResolver()
{
    return null ;
}