com.sun.corba.se.spi.transport.IIOPPrimaryToContactInfo Java Examples

The following examples show how to use com.sun.corba.se.spi.transport.IIOPPrimaryToContactInfo. 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: ParserTable.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
private Operation makeIIOPPrimaryToContactInfoOperation()
{
    Operation op = new Operation() {
        public Object operate( Object value )
        {
            String param = (String)value ;

            try {
                Class<?> iiopPrimaryToContactInfoClass =
                    SharedSecrets.getJavaCorbaAccess().loadClass(param);
                // For security reasons avoid creating an instance if
                // this socket factory class is not one that would fail
                // the class cast anyway.
                if (IIOPPrimaryToContactInfo.class.isAssignableFrom(iiopPrimaryToContactInfoClass)) {
                    return iiopPrimaryToContactInfoClass.newInstance();
                } else {
                    throw wrapper.illegalIiopPrimaryToContactInfoType( iiopPrimaryToContactInfoClass.toString() ) ;
                }
            } catch (Exception ex) {
                // ClassNotFoundException, IllegalAccessException,
                // InstantiationException, SecurityException or
                // ClassCastException
                throw wrapper.badCustomIiopPrimaryToContactInfo( ex, param ) ;
            }
        }
    } ;

    return op ;
}
 
Example #2
Source File: ParserTable.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
private Operation makeIIOPPrimaryToContactInfoOperation()
{
    Operation op = new Operation() {
        public Object operate( Object value )
        {
            String param = (String)value ;

            try {
                Class<?> iiopPrimaryToContactInfoClass =
                    SharedSecrets.getJavaCorbaAccess().loadClass(param);
                // For security reasons avoid creating an instance if
                // this socket factory class is not one that would fail
                // the class cast anyway.
                if (IIOPPrimaryToContactInfo.class.isAssignableFrom(iiopPrimaryToContactInfoClass)) {
                    return iiopPrimaryToContactInfoClass.newInstance();
                } else {
                    throw wrapper.illegalIiopPrimaryToContactInfoType( iiopPrimaryToContactInfoClass.toString() ) ;
                }
            } catch (Exception ex) {
                // ClassNotFoundException, IllegalAccessException,
                // InstantiationException, SecurityException or
                // ClassCastException
                throw wrapper.badCustomIiopPrimaryToContactInfo( ex, param ) ;
            }
        }
    } ;

    return op ;
}
 
Example #3
Source File: ParserTable.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
private Operation makeIIOPPrimaryToContactInfoOperation()
{
    Operation op = new Operation() {
        public Object operate( Object value )
        {
            String param = (String)value ;

            try {
                Class<?> iiopPrimaryToContactInfoClass =
                    SharedSecrets.getJavaCorbaAccess().loadClass(param);
                // For security reasons avoid creating an instance if
                // this socket factory class is not one that would fail
                // the class cast anyway.
                if (IIOPPrimaryToContactInfo.class.isAssignableFrom(iiopPrimaryToContactInfoClass)) {
                    return iiopPrimaryToContactInfoClass.newInstance();
                } else {
                    throw wrapper.illegalIiopPrimaryToContactInfoType( iiopPrimaryToContactInfoClass.toString() ) ;
                }
            } catch (Exception ex) {
                // ClassNotFoundException, IllegalAccessException,
                // InstantiationException, SecurityException or
                // ClassCastException
                throw wrapper.badCustomIiopPrimaryToContactInfo( ex, param ) ;
            }
        }
    } ;

    return op ;
}
 
Example #4
Source File: ParserTable.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
private Operation makeIIOPPrimaryToContactInfoOperation()
{
    Operation op = new Operation() {
        public Object operate( Object value )
        {
            String param = (String)value ;

            try {
                Class<?> iiopPrimaryToContactInfoClass =
                    SharedSecrets.getJavaCorbaAccess().loadClass(param);
                // For security reasons avoid creating an instance if
                // this socket factory class is not one that would fail
                // the class cast anyway.
                if (IIOPPrimaryToContactInfo.class.isAssignableFrom(iiopPrimaryToContactInfoClass)) {
                    return iiopPrimaryToContactInfoClass.newInstance();
                } else {
                    throw wrapper.illegalIiopPrimaryToContactInfoType( iiopPrimaryToContactInfoClass.toString() ) ;
                }
            } catch (Exception ex) {
                // ClassNotFoundException, IllegalAccessException,
                // InstantiationException, SecurityException or
                // ClassCastException
                throw wrapper.badCustomIiopPrimaryToContactInfo( ex, param ) ;
            }
        }
    } ;

    return op ;
}
 
Example #5
Source File: ParserTable.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
private Operation makeIIOPPrimaryToContactInfoOperation()
{
    Operation op = new Operation() {
        public Object operate( Object value )
        {
            String param = (String)value ;

            try {
                Class<?> iiopPrimaryToContactInfoClass =
                    SharedSecrets.getJavaCorbaAccess().loadClass(param);
                // For security reasons avoid creating an instance if
                // this socket factory class is not one that would fail
                // the class cast anyway.
                if (IIOPPrimaryToContactInfo.class.isAssignableFrom(iiopPrimaryToContactInfoClass)) {
                    return iiopPrimaryToContactInfoClass.newInstance();
                } else {
                    throw wrapper.illegalIiopPrimaryToContactInfoType( iiopPrimaryToContactInfoClass.toString() ) ;
                }
            } catch (Exception ex) {
                // ClassNotFoundException, IllegalAccessException,
                // InstantiationException, SecurityException or
                // ClassCastException
                throw wrapper.badCustomIiopPrimaryToContactInfo( ex, param ) ;
            }
        }
    } ;

    return op ;
}
 
Example #6
Source File: ParserTable.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
private Operation makeIIOPPrimaryToContactInfoOperation()
{
    Operation op = new Operation() {
        public Object operate( Object value )
        {
            String param = (String)value ;

            try {
                Class<?> iiopPrimaryToContactInfoClass =
                    SharedSecrets.getJavaCorbaAccess().loadClass(param);
                // For security reasons avoid creating an instance if
                // this socket factory class is not one that would fail
                // the class cast anyway.
                if (IIOPPrimaryToContactInfo.class.isAssignableFrom(iiopPrimaryToContactInfoClass)) {
                    return iiopPrimaryToContactInfoClass.newInstance();
                } else {
                    throw wrapper.illegalIiopPrimaryToContactInfoType( iiopPrimaryToContactInfoClass.toString() ) ;
                }
            } catch (Exception ex) {
                // ClassNotFoundException, IllegalAccessException,
                // InstantiationException, SecurityException or
                // ClassCastException
                throw wrapper.badCustomIiopPrimaryToContactInfo( ex, param ) ;
            }
        }
    } ;

    return op ;
}
 
Example #7
Source File: ParserTable.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
private Operation makeIIOPPrimaryToContactInfoOperation()
{
    Operation op = new Operation() {
        public Object operate( Object value )
        {
            String param = (String)value ;

            try {
                Class<?> iiopPrimaryToContactInfoClass =
                    SharedSecrets.getJavaCorbaAccess().loadClass(param);
                // For security reasons avoid creating an instance if
                // this socket factory class is not one that would fail
                // the class cast anyway.
                if (IIOPPrimaryToContactInfo.class.isAssignableFrom(iiopPrimaryToContactInfoClass)) {
                    return iiopPrimaryToContactInfoClass.newInstance();
                } else {
                    throw wrapper.illegalIiopPrimaryToContactInfoType( iiopPrimaryToContactInfoClass.toString() ) ;
                }
            } catch (Exception ex) {
                // ClassNotFoundException, IllegalAccessException,
                // InstantiationException, SecurityException or
                // ClassCastException
                throw wrapper.badCustomIiopPrimaryToContactInfo( ex, param ) ;
            }
        }
    } ;

    return op ;
}
 
Example #8
Source File: ParserTable.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
private Operation makeIIOPPrimaryToContactInfoOperation()
{
    Operation op = new Operation() {
        public Object operate( Object value )
        {
            String param = (String)value ;

            try {
                Class<?> iiopPrimaryToContactInfoClass =
                    SharedSecrets.getJavaCorbaAccess().loadClass(param);
                // For security reasons avoid creating an instance if
                // this socket factory class is not one that would fail
                // the class cast anyway.
                if (IIOPPrimaryToContactInfo.class.isAssignableFrom(iiopPrimaryToContactInfoClass)) {
                    return iiopPrimaryToContactInfoClass.newInstance();
                } else {
                    throw wrapper.illegalIiopPrimaryToContactInfoType( iiopPrimaryToContactInfoClass.toString() ) ;
                }
            } catch (Exception ex) {
                // ClassNotFoundException, IllegalAccessException,
                // InstantiationException, SecurityException or
                // ClassCastException
                throw wrapper.badCustomIiopPrimaryToContactInfo( ex, param ) ;
            }
        }
    } ;

    return op ;
}
 
Example #9
Source File: ParserTable.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
private Operation makeIIOPPrimaryToContactInfoOperation()
{
    Operation op = new Operation() {
        public Object operate( Object value )
        {
            String param = (String)value ;

            try {
                Class<?> iiopPrimaryToContactInfoClass =
                    SharedSecrets.getJavaCorbaAccess().loadClass(param);
                // For security reasons avoid creating an instance if
                // this socket factory class is not one that would fail
                // the class cast anyway.
                if (IIOPPrimaryToContactInfo.class.isAssignableFrom(iiopPrimaryToContactInfoClass)) {
                    return iiopPrimaryToContactInfoClass.newInstance();
                } else {
                    throw wrapper.illegalIiopPrimaryToContactInfoType( iiopPrimaryToContactInfoClass.toString() ) ;
                }
            } catch (Exception ex) {
                // ClassNotFoundException, IllegalAccessException,
                // InstantiationException, SecurityException or
                // ClassCastException
                throw wrapper.badCustomIiopPrimaryToContactInfo( ex, param ) ;
            }
        }
    } ;

    return op ;
}
 
Example #10
Source File: ParserTable.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
private Operation makeIIOPPrimaryToContactInfoOperation()
{
    Operation op = new Operation() {
        public Object operate( Object value )
        {
            String param = (String)value ;

            try {
                Class<?> iiopPrimaryToContactInfoClass =
                    SharedSecrets.getJavaCorbaAccess().loadClass(param);
                // For security reasons avoid creating an instance if
                // this socket factory class is not one that would fail
                // the class cast anyway.
                if (IIOPPrimaryToContactInfo.class.isAssignableFrom(iiopPrimaryToContactInfoClass)) {
                    return iiopPrimaryToContactInfoClass.newInstance();
                } else {
                    throw wrapper.illegalIiopPrimaryToContactInfoType( iiopPrimaryToContactInfoClass.toString() ) ;
                }
            } catch (Exception ex) {
                // ClassNotFoundException, IllegalAccessException,
                // InstantiationException, SecurityException or
                // ClassCastException
                throw wrapper.badCustomIiopPrimaryToContactInfo( ex, param ) ;
            }
        }
    } ;

    return op ;
}
 
Example #11
Source File: ORBDataParserImpl.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo()
{
    return iiopPrimaryToContactInfo;
}
 
Example #12
Source File: ORBDataParserImpl.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo()
{
    return iiopPrimaryToContactInfo;
}
 
Example #13
Source File: ORBDataParserImpl.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo()
{
    return iiopPrimaryToContactInfo;
}
 
Example #14
Source File: ORBDataParserImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo()
{
    return iiopPrimaryToContactInfo;
}
 
Example #15
Source File: ORBDataParserImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo()
{
    return iiopPrimaryToContactInfo;
}
 
Example #16
Source File: ORBDataParserImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo()
{
    return iiopPrimaryToContactInfo;
}
 
Example #17
Source File: ORBDataParserImpl.java    From JDKSourceCode1.8 with MIT License 4 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo()
{
    return iiopPrimaryToContactInfo;
}
 
Example #18
Source File: ORBDataParserImpl.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo()
{
    return iiopPrimaryToContactInfo;
}
 
Example #19
Source File: ORBDataParserImpl.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo()
{
    return iiopPrimaryToContactInfo;
}
 
Example #20
Source File: ORBDataParserImpl.java    From jdk1.8-source-analysis with Apache License 2.0 4 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo()
{
    return iiopPrimaryToContactInfo;
}
 
Example #21
Source File: ORBData.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo(); 
Example #22
Source File: ORBData.java    From openjdk-jdk8u with GNU General Public License v2.0 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo(); 
Example #23
Source File: ORBData.java    From openjdk-jdk9 with GNU General Public License v2.0 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo(); 
Example #24
Source File: ORBData.java    From JDKSourceCode1.8 with MIT License votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo(); 
Example #25
Source File: ORBData.java    From hottub with GNU General Public License v2.0 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo(); 
Example #26
Source File: ORBData.java    From jdk8u60 with GNU General Public License v2.0 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo(); 
Example #27
Source File: ORBData.java    From openjdk-8-source with GNU General Public License v2.0 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo(); 
Example #28
Source File: ORBData.java    From TencentKona-8 with GNU General Public License v2.0 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo(); 
Example #29
Source File: ORBData.java    From openjdk-8 with GNU General Public License v2.0 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo(); 
Example #30
Source File: ORBData.java    From jdk1.8-source-analysis with Apache License 2.0 votes vote down vote up
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo();