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

The following examples show how to use com.sun.corba.se.spi.resolver.Resolver. 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-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 #2
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 #3
Source File: ORBImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Resolve the stringified reference of one of the initially
 * available CORBA services.
 * @param identifier The stringified object reference of the
 * desired service.
 * @return An object reference for the desired service.
 * @exception InvalidName The supplied identifier is not associated
 * with a known service.
 * @exception SystemException One of a fixed set of Corba system exceptions.
 */
public org.omg.CORBA.Object resolve_initial_references(
    String identifier) throws InvalidName
{
    Resolver res ;

    synchronized( this ) {
        checkShutdownState();
        res = resolver ;
    }

    synchronized (resolverLock) {
        org.omg.CORBA.Object result = res.resolve( identifier ) ;

        if (result == null)
            throw new InvalidName() ;
        else
            return result ;
    }
}
 
Example #4
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 #5
Source File: ORBImpl.java    From jdk1.8-source-analysis with Apache License 2.0 6 votes vote down vote up
/**
 * Resolve the stringified reference of one of the initially
 * available CORBA services.
 * @param identifier The stringified object reference of the
 * desired service.
 * @return An object reference for the desired service.
 * @exception InvalidName The supplied identifier is not associated
 * with a known service.
 * @exception SystemException One of a fixed set of Corba system exceptions.
 */
public org.omg.CORBA.Object resolve_initial_references(
    String identifier) throws InvalidName
{
    Resolver res ;

    synchronized( this ) {
        checkShutdownState();
        res = resolver ;
    }

    synchronized (resolverLock) {
        org.omg.CORBA.Object result = res.resolve( identifier ) ;

        if (result == null)
            throw new InvalidName() ;
        else
            return result ;
    }
}
 
Example #6
Source File: ORBImpl.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Resolve the stringified reference of one of the initially
 * available CORBA services.
 * @param identifier The stringified object reference of the
 * desired service.
 * @return An object reference for the desired service.
 * @exception InvalidName The supplied identifier is not associated
 * with a known service.
 * @exception SystemException One of a fixed set of Corba system exceptions.
 */
public org.omg.CORBA.Object resolve_initial_references(
    String identifier) throws InvalidName
{
    Resolver res ;

    synchronized( this ) {
        checkShutdownState();
        res = resolver ;
    }

    synchronized (resolverLock) {
        org.omg.CORBA.Object result = res.resolve( identifier ) ;

        if (result == null)
            throw new InvalidName() ;
        else
            return result ;
    }
}
 
Example #7
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 #8
Source File: ORBImpl.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Resolve the stringified reference of one of the initially
 * available CORBA services.
 * @param identifier The stringified object reference of the
 * desired service.
 * @return An object reference for the desired service.
 * @exception InvalidName The supplied identifier is not associated
 * with a known service.
 * @exception SystemException One of a fixed set of Corba system exceptions.
 */
public org.omg.CORBA.Object resolve_initial_references(
    String identifier) throws InvalidName
{
    Resolver res ;

    synchronized( this ) {
        checkShutdownState();
        res = resolver ;
    }

    synchronized (resolverLock) {
        org.omg.CORBA.Object result = res.resolve( identifier ) ;

        if (result == null)
            throw new InvalidName() ;
        else
            return result ;
    }
}
 
Example #9
Source File: ORBImpl.java    From JDKSourceCode1.8 with MIT License 6 votes vote down vote up
/**
 * Resolve the stringified reference of one of the initially
 * available CORBA services.
 * @param identifier The stringified object reference of the
 * desired service.
 * @return An object reference for the desired service.
 * @exception InvalidName The supplied identifier is not associated
 * with a known service.
 * @exception SystemException One of a fixed set of Corba system exceptions.
 */
public org.omg.CORBA.Object resolve_initial_references(
    String identifier) throws InvalidName
{
    Resolver res ;

    synchronized( this ) {
        checkShutdownState();
        res = resolver ;
    }

    synchronized (resolverLock) {
        org.omg.CORBA.Object result = res.resolve( identifier ) ;

        if (result == null)
            throw new InvalidName() ;
        else
            return result ;
    }
}
 
Example #10
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 #11
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 #12
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 #13
Source File: ORBImpl.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Resolve the stringified reference of one of the initially
 * available CORBA services.
 * @param identifier The stringified object reference of the
 * desired service.
 * @return An object reference for the desired service.
 * @exception InvalidName The supplied identifier is not associated
 * with a known service.
 * @exception SystemException One of a fixed set of Corba system exceptions.
 */
public org.omg.CORBA.Object resolve_initial_references(
    String identifier) throws InvalidName
{
    Resolver res ;

    synchronized( this ) {
        checkShutdownState();
        res = resolver ;
    }

    synchronized (resolverLock) {
        org.omg.CORBA.Object result = res.resolve( identifier ) ;

        if (result == null)
            throw new InvalidName() ;
        else
            return result ;
    }
}
 
Example #14
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 #15
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 #16
Source File: ORBImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Get a list of the initially available CORBA services.
 * This does not work unless an ORBInitialHost is specified during
 * initialization (or unless there is an ORB running on the AppletHost)
 * since the localhostname
 * is inaccessible to applets. If a service properties URL was specified,
 * then it is used, otherwise the bootstrapping protocol is used.
 * @return A list of the initial services available.
 */
public String[] list_initial_services()
{
    Resolver res ;

    synchronized( this ) {
        checkShutdownState();
        res = resolver ;
    }

    synchronized (resolverLock) {
        java.util.Set keys = res.list() ;
        return (String[])keys.toArray( new String[keys.size()] ) ;
    }
}
 
Example #17
Source File: ORBImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Get a list of the initially available CORBA services.
 * This does not work unless an ORBInitialHost is specified during
 * initialization (or unless there is an ORB running on the AppletHost)
 * since the localhostname
 * is inaccessible to applets. If a service properties URL was specified,
 * then it is used, otherwise the bootstrapping protocol is used.
 * @return A list of the initial services available.
 */
public String[] list_initial_services()
{
    Resolver res ;

    synchronized( this ) {
        checkShutdownState();
        res = resolver ;
    }

    synchronized (resolverLock) {
        java.util.Set keys = res.list() ;
        return (String[])keys.toArray( new String[keys.size()] ) ;
    }
}
 
Example #18
Source File: INSURLOperationImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public INSURLOperationImpl( ORB orb, Resolver bootstrapResolver )
{
    this.orb = orb ;
    wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.ORB_RESOLVER ) ;
    omgWrapper = OMGSystemException.get( orb,
        CORBALogDomains.ORB_RESOLVER ) ;
    this.bootstrapResolver = bootstrapResolver ;
}
 
Example #19
Source File: ORBImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/** Get the resolver used in this ORB.  This resolver will be used for list_initial_services
 * and resolve_initial_references.
 */
public Resolver getResolver()
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        return resolver ;
    }
}
 
Example #20
Source File: ORBImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/** Get the resolver used in this ORB.  This resolver will be used for list_initial_services
 * and resolve_initial_references.
 */
public Resolver getResolver()
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        return resolver ;
    }
}
 
Example #21
Source File: ORBImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/**
 * Get a list of the initially available CORBA services.
 * This does not work unless an ORBInitialHost is specified during
 * initialization (or unless there is an ORB running on the AppletHost)
 * since the localhostname
 * is inaccessible to applets. If a service properties URL was specified,
 * then it is used, otherwise the bootstrapping protocol is used.
 * @return A list of the initial services available.
 */
public String[] list_initial_services()
{
    Resolver res ;

    synchronized( this ) {
        checkShutdownState();
        res = resolver ;
    }

    synchronized (resolverLock) {
        java.util.Set keys = res.list() ;
        return (String[])keys.toArray( new String[keys.size()] ) ;
    }
}
 
Example #22
Source File: INSURLOperationImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public INSURLOperationImpl( ORB orb, Resolver bootstrapResolver )
{
    this.orb = orb ;
    wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.ORB_RESOLVER ) ;
    omgWrapper = OMGSystemException.get( orb,
        CORBALogDomains.ORB_RESOLVER ) ;
    this.bootstrapResolver = bootstrapResolver ;
}
 
Example #23
Source File: ORBImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/** Set the resolver used in this ORB.  This resolver will be used for list_initial_services
 * and resolve_initial_references.
 */
public void setResolver( Resolver resolver )
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        this.resolver = resolver ;
    }
}
 
Example #24
Source File: ORBImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Get a list of the initially available CORBA services.
 * This does not work unless an ORBInitialHost is specified during
 * initialization (or unless there is an ORB running on the AppletHost)
 * since the localhostname
 * is inaccessible to applets. If a service properties URL was specified,
 * then it is used, otherwise the bootstrapping protocol is used.
 * @return A list of the initial services available.
 */
public String[] list_initial_services()
{
    Resolver res ;

    synchronized( this ) {
        checkShutdownState();
        res = resolver ;
    }

    synchronized (resolverLock) {
        java.util.Set keys = res.list() ;
        return (String[])keys.toArray( new String[keys.size()] ) ;
    }
}
 
Example #25
Source File: ORBImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/** Get the resolver used in this ORB.  This resolver will be used for list_initial_services
 * and resolve_initial_references.
 */
public Resolver getResolver()
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        return resolver ;
    }
}
 
Example #26
Source File: ORBImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/** Set the resolver used in this ORB.  This resolver will be used for list_initial_services
 * and resolve_initial_references.
 */
public void setResolver( Resolver resolver )
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        this.resolver = resolver ;
    }
}
 
Example #27
Source File: ORBImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Get a list of the initially available CORBA services.
 * This does not work unless an ORBInitialHost is specified during
 * initialization (or unless there is an ORB running on the AppletHost)
 * since the localhostname
 * is inaccessible to applets. If a service properties URL was specified,
 * then it is used, otherwise the bootstrapping protocol is used.
 * @return A list of the initial services available.
 */
public String[] list_initial_services()
{
    Resolver res ;

    synchronized( this ) {
        checkShutdownState();
        res = resolver ;
    }

    synchronized (resolverLock) {
        java.util.Set keys = res.list() ;
        return (String[])keys.toArray( new String[keys.size()] ) ;
    }
}
 
Example #28
Source File: INSURLOperationImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public INSURLOperationImpl( ORB orb, Resolver bootstrapResolver )
{
    this.orb = orb ;
    wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.ORB_RESOLVER ) ;
    omgWrapper = OMGSystemException.get( orb,
        CORBALogDomains.ORB_RESOLVER ) ;
    this.bootstrapResolver = bootstrapResolver ;
}
 
Example #29
Source File: ORBImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Get a list of the initially available CORBA services.
 * This does not work unless an ORBInitialHost is specified during
 * initialization (or unless there is an ORB running on the AppletHost)
 * since the localhostname
 * is inaccessible to applets. If a service properties URL was specified,
 * then it is used, otherwise the bootstrapping protocol is used.
 * @return A list of the initial services available.
 */
public String[] list_initial_services()
{
    Resolver res ;

    synchronized( this ) {
        checkShutdownState();
        res = resolver ;
    }

    synchronized (resolverLock) {
        java.util.Set keys = res.list() ;
        return (String[])keys.toArray( new String[keys.size()] ) ;
    }
}
 
Example #30
Source File: ORBImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/** Set the resolver used in this ORB.  This resolver will be used for list_initial_services
 * and resolve_initial_references.
 */
public void setResolver( Resolver resolver )
{
    synchronized (this) {
            checkShutdownState();
    }
    synchronized (resolverLock) {
        this.resolver = resolver ;
    }
}