com.sun.corba.se.impl.naming.namingutil.INSURL Java Examples

The following examples show how to use com.sun.corba.se.impl.naming.namingutil.INSURL. 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 Project: jdk1.8-source-analysis   Author: raysonfang   File: INSURLOperationImpl.java    License: Apache License 2.0 6 votes vote down vote up
public Object operate( Object arg )
{
    if (arg instanceof String) {
        String str = (String)arg ;

        if (str.startsWith( ORBConstants.STRINGIFY_PREFIX ))
            // XXX handle this as just another URL scheme
            return getIORFromString( str ) ;
        else {
            INSURL insURL = insURLHandler.parseURL( str ) ;
            if (insURL == null)
                throw omgWrapper.soBadSchemeName() ;
            return resolveINSURL( insURL ) ;
        }
    }

    throw wrapper.stringExpected() ;
}
 
Example #2
Source Project: TencentKona-8   Author: Tencent   File: INSURLOperationImpl.java    License: GNU General Public License v2.0 6 votes vote down vote up
public Object operate( Object arg )
{
    if (arg instanceof String) {
        String str = (String)arg ;

        if (str.startsWith( ORBConstants.STRINGIFY_PREFIX ))
            // XXX handle this as just another URL scheme
            return getIORFromString( str ) ;
        else {
            INSURL insURL = insURLHandler.parseURL( str ) ;
            if (insURL == null)
                throw omgWrapper.soBadSchemeName() ;
            return resolveINSURL( insURL ) ;
        }
    }

    throw wrapper.stringExpected() ;
}
 
Example #3
Source Project: jdk8u60   Author: chenghanpeng   File: INSURLOperationImpl.java    License: GNU General Public License v2.0 6 votes vote down vote up
public Object operate( Object arg )
{
    if (arg instanceof String) {
        String str = (String)arg ;

        if (str.startsWith( ORBConstants.STRINGIFY_PREFIX ))
            // XXX handle this as just another URL scheme
            return getIORFromString( str ) ;
        else {
            INSURL insURL = insURLHandler.parseURL( str ) ;
            if (insURL == null)
                throw omgWrapper.soBadSchemeName() ;
            return resolveINSURL( insURL ) ;
        }
    }

    throw wrapper.stringExpected() ;
}
 
Example #4
Source Project: JDKSourceCode1.8   Author: wupeixuan   File: INSURLOperationImpl.java    License: MIT License 6 votes vote down vote up
public Object operate( Object arg )
{
    if (arg instanceof String) {
        String str = (String)arg ;

        if (str.startsWith( ORBConstants.STRINGIFY_PREFIX ))
            // XXX handle this as just another URL scheme
            return getIORFromString( str ) ;
        else {
            INSURL insURL = insURLHandler.parseURL( str ) ;
            if (insURL == null)
                throw omgWrapper.soBadSchemeName() ;
            return resolveINSURL( insURL ) ;
        }
    }

    throw wrapper.stringExpected() ;
}
 
Example #5
Source Project: openjdk-jdk8u   Author: AdoptOpenJDK   File: INSURLOperationImpl.java    License: GNU General Public License v2.0 6 votes vote down vote up
public Object operate( Object arg )
{
    if (arg instanceof String) {
        String str = (String)arg ;

        if (str.startsWith( ORBConstants.STRINGIFY_PREFIX ))
            // XXX handle this as just another URL scheme
            return getIORFromString( str ) ;
        else {
            INSURL insURL = insURLHandler.parseURL( str ) ;
            if (insURL == null)
                throw omgWrapper.soBadSchemeName() ;
            return resolveINSURL( insURL ) ;
        }
    }

    throw wrapper.stringExpected() ;
}
 
Example #6
Source Project: openjdk-jdk8u-backup   Author: AdoptOpenJDK   File: INSURLOperationImpl.java    License: GNU General Public License v2.0 6 votes vote down vote up
public Object operate( Object arg )
{
    if (arg instanceof String) {
        String str = (String)arg ;

        if (str.startsWith( ORBConstants.STRINGIFY_PREFIX ))
            // XXX handle this as just another URL scheme
            return getIORFromString( str ) ;
        else {
            INSURL insURL = insURLHandler.parseURL( str ) ;
            if (insURL == null)
                throw omgWrapper.soBadSchemeName() ;
            return resolveINSURL( insURL ) ;
        }
    }

    throw wrapper.stringExpected() ;
}
 
Example #7
Source Project: openjdk-jdk9   Author: AdoptOpenJDK   File: INSURLOperationImpl.java    License: GNU General Public License v2.0 6 votes vote down vote up
public Object operate( Object arg )
{
    if (arg instanceof String) {
        String str = (String)arg ;

        if (str.startsWith( ORBConstants.STRINGIFY_PREFIX ))
            // XXX handle this as just another URL scheme
            return getIORFromString( str ) ;
        else {
            INSURL insURL = insURLHandler.parseURL( str ) ;
            if (insURL == null)
                throw omgWrapper.soBadSchemeName() ;
            return resolveINSURL( insURL ) ;
        }
    }

    throw wrapper.stringExpected() ;
}
 
Example #8
Source Project: hottub   Author: dsrg-uoft   File: INSURLOperationImpl.java    License: GNU General Public License v2.0 6 votes vote down vote up
public Object operate( Object arg )
{
    if (arg instanceof String) {
        String str = (String)arg ;

        if (str.startsWith( ORBConstants.STRINGIFY_PREFIX ))
            // XXX handle this as just another URL scheme
            return getIORFromString( str ) ;
        else {
            INSURL insURL = insURLHandler.parseURL( str ) ;
            if (insURL == null)
                throw omgWrapper.soBadSchemeName() ;
            return resolveINSURL( insURL ) ;
        }
    }

    throw wrapper.stringExpected() ;
}
 
Example #9
Source Project: openjdk-8-source   Author: keerath   File: INSURLOperationImpl.java    License: GNU General Public License v2.0 6 votes vote down vote up
public Object operate( Object arg )
{
    if (arg instanceof String) {
        String str = (String)arg ;

        if (str.startsWith( ORBConstants.STRINGIFY_PREFIX ))
            // XXX handle this as just another URL scheme
            return getIORFromString( str ) ;
        else {
            INSURL insURL = insURLHandler.parseURL( str ) ;
            if (insURL == null)
                throw omgWrapper.soBadSchemeName() ;
            return resolveINSURL( insURL ) ;
        }
    }

    throw wrapper.stringExpected() ;
}
 
Example #10
Source Project: openjdk-8   Author: bpupadhyaya   File: INSURLOperationImpl.java    License: GNU General Public License v2.0 6 votes vote down vote up
public Object operate( Object arg )
{
    if (arg instanceof String) {
        String str = (String)arg ;

        if (str.startsWith( ORBConstants.STRINGIFY_PREFIX ))
            // XXX handle this as just another URL scheme
            return getIORFromString( str ) ;
        else {
            INSURL insURL = insURLHandler.parseURL( str ) ;
            if (insURL == null)
                throw omgWrapper.soBadSchemeName() ;
            return resolveINSURL( insURL ) ;
        }
    }

    throw wrapper.stringExpected() ;
}
 
Example #11
Source Project: jdk1.8-source-analysis   Author: raysonfang   File: INSURLOperationImpl.java    License: Apache License 2.0 5 votes vote down vote up
private org.omg.CORBA.Object resolveINSURL( INSURL theURLObject ) {
    // XXX resolve should be a method on INSURL
    if( theURLObject.isCorbanameURL() ) {
        return resolveCorbaname( (CorbanameURL)theURLObject );
    } else {
        return resolveCorbaloc( (CorbalocURL)theURLObject );
    }
}
 
Example #12
Source Project: TencentKona-8   Author: Tencent   File: INSURLOperationImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
private org.omg.CORBA.Object resolveINSURL( INSURL theURLObject ) {
    // XXX resolve should be a method on INSURL
    if( theURLObject.isCorbanameURL() ) {
        return resolveCorbaname( (CorbanameURL)theURLObject );
    } else {
        return resolveCorbaloc( (CorbalocURL)theURLObject );
    }
}
 
Example #13
Source Project: jdk8u60   Author: chenghanpeng   File: INSURLOperationImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
private org.omg.CORBA.Object resolveINSURL( INSURL theURLObject ) {
    // XXX resolve should be a method on INSURL
    if( theURLObject.isCorbanameURL() ) {
        return resolveCorbaname( (CorbanameURL)theURLObject );
    } else {
        return resolveCorbaloc( (CorbalocURL)theURLObject );
    }
}
 
Example #14
Source Project: JDKSourceCode1.8   Author: wupeixuan   File: INSURLOperationImpl.java    License: MIT License 5 votes vote down vote up
private org.omg.CORBA.Object resolveINSURL( INSURL theURLObject ) {
    // XXX resolve should be a method on INSURL
    if( theURLObject.isCorbanameURL() ) {
        return resolveCorbaname( (CorbanameURL)theURLObject );
    } else {
        return resolveCorbaloc( (CorbalocURL)theURLObject );
    }
}
 
Example #15
Source Project: openjdk-jdk8u   Author: AdoptOpenJDK   File: INSURLOperationImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
private org.omg.CORBA.Object resolveINSURL( INSURL theURLObject ) {
    // XXX resolve should be a method on INSURL
    if( theURLObject.isCorbanameURL() ) {
        return resolveCorbaname( (CorbanameURL)theURLObject );
    } else {
        return resolveCorbaloc( (CorbalocURL)theURLObject );
    }
}
 
Example #16
Source Project: openjdk-jdk8u-backup   Author: AdoptOpenJDK   File: INSURLOperationImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
private org.omg.CORBA.Object resolveINSURL( INSURL theURLObject ) {
    // XXX resolve should be a method on INSURL
    if( theURLObject.isCorbanameURL() ) {
        return resolveCorbaname( (CorbanameURL)theURLObject );
    } else {
        return resolveCorbaloc( (CorbalocURL)theURLObject );
    }
}
 
Example #17
Source Project: openjdk-jdk9   Author: AdoptOpenJDK   File: INSURLOperationImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
private org.omg.CORBA.Object resolveINSURL( INSURL theURLObject ) {
    // XXX resolve should be a method on INSURL
    if( theURLObject.isCorbanameURL() ) {
        return resolveCorbaname( (CorbanameURL)theURLObject );
    } else {
        return resolveCorbaloc( (CorbalocURL)theURLObject );
    }
}
 
Example #18
Source Project: hottub   Author: dsrg-uoft   File: INSURLOperationImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
private org.omg.CORBA.Object resolveINSURL( INSURL theURLObject ) {
    // XXX resolve should be a method on INSURL
    if( theURLObject.isCorbanameURL() ) {
        return resolveCorbaname( (CorbanameURL)theURLObject );
    } else {
        return resolveCorbaloc( (CorbalocURL)theURLObject );
    }
}
 
Example #19
Source Project: openjdk-8-source   Author: keerath   File: INSURLOperationImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
private org.omg.CORBA.Object resolveINSURL( INSURL theURLObject ) {
    // XXX resolve should be a method on INSURL
    if( theURLObject.isCorbanameURL() ) {
        return resolveCorbaname( (CorbanameURL)theURLObject );
    } else {
        return resolveCorbaloc( (CorbalocURL)theURLObject );
    }
}
 
Example #20
Source Project: openjdk-8   Author: bpupadhyaya   File: INSURLOperationImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
private org.omg.CORBA.Object resolveINSURL( INSURL theURLObject ) {
    // XXX resolve should be a method on INSURL
    if( theURLObject.isCorbanameURL() ) {
        return resolveCorbaname( (CorbanameURL)theURLObject );
    } else {
        return resolveCorbaloc( (CorbalocURL)theURLObject );
    }
}