com.sun.corba.se.spi.transport.CorbaContactInfoListFactory Java Examples
The following examples show how to use
com.sun.corba.se.spi.transport.CorbaContactInfoListFactory.
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: TransportDefault.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public static CorbaContactInfoListFactory makeCorbaContactInfoListFactory( final ORB broker ) { return new CorbaContactInfoListFactory() { public void setORB(ORB orb) { } public CorbaContactInfoList create( IOR ior ) { return new CorbaContactInfoListImpl( (com.sun.corba.se.spi.orb.ORB)broker, ior ) ; } }; }
Example #2
Source File: ORBImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public void setCorbaContactInfoListFactory( CorbaContactInfoListFactory factory ) { synchronized (this) { checkShutdownState(); } synchronized (corbaContactInfoListFactoryAccessLock) { corbaContactInfoListFactory = factory ; } }
Example #3
Source File: TransportDefault.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public static CorbaContactInfoListFactory makeCorbaContactInfoListFactory( final ORB broker ) { return new CorbaContactInfoListFactory() { public void setORB(ORB orb) { } public CorbaContactInfoList create( IOR ior ) { return new CorbaContactInfoListImpl( (com.sun.corba.se.spi.orb.ORB)broker, ior ) ; } }; }
Example #4
Source File: TransportDefault.java From hottub with GNU General Public License v2.0 | 5 votes |
public static CorbaContactInfoListFactory makeCorbaContactInfoListFactory( final ORB broker ) { return new CorbaContactInfoListFactory() { public void setORB(ORB orb) { } public CorbaContactInfoList create( IOR ior ) { return new CorbaContactInfoListImpl( (com.sun.corba.se.spi.orb.ORB)broker, ior ) ; } }; }
Example #5
Source File: ParserTable.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private Operation makeContactInfoListFactoryOperation() { Operation op = new Operation() { public Object operate( Object value ) { String param = (String)value ; try { Class<?> contactInfoListFactoryClass = 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 (CorbaContactInfoListFactory.class.isAssignableFrom( contactInfoListFactoryClass)) { return contactInfoListFactoryClass.newInstance(); } else { throw wrapper.illegalContactInfoListFactoryType( contactInfoListFactoryClass.toString() ) ; } } catch (Exception ex) { // ClassNotFoundException, IllegalAccessException, // InstantiationException, SecurityException or // ClassCastException throw wrapper.badContactInfoListFactory( ex, param ) ; } } } ; return op ; }
Example #6
Source File: ORBImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public void setCorbaContactInfoListFactory( CorbaContactInfoListFactory factory ) { synchronized (this) { checkShutdownState(); } synchronized (corbaContactInfoListFactoryAccessLock) { corbaContactInfoListFactory = factory ; } }
Example #7
Source File: ORBImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
public void setCorbaContactInfoListFactory( CorbaContactInfoListFactory factory ) { synchronized (this) { checkShutdownState(); } synchronized (corbaContactInfoListFactoryAccessLock) { corbaContactInfoListFactory = factory ; } }
Example #8
Source File: ParserTable.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
private Operation makeContactInfoListFactoryOperation() { Operation op = new Operation() { public Object operate( Object value ) { String param = (String)value ; try { Class<?> contactInfoListFactoryClass = 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 (CorbaContactInfoListFactory.class.isAssignableFrom( contactInfoListFactoryClass)) { return contactInfoListFactoryClass.newInstance(); } else { throw wrapper.illegalContactInfoListFactoryType( contactInfoListFactoryClass.toString() ) ; } } catch (Exception ex) { // ClassNotFoundException, IllegalAccessException, // InstantiationException, SecurityException or // ClassCastException throw wrapper.badContactInfoListFactory( ex, param ) ; } } } ; return op ; }
Example #9
Source File: ORBImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public void setCorbaContactInfoListFactory( CorbaContactInfoListFactory factory ) { synchronized (this) { checkShutdownState(); } synchronized (corbaContactInfoListFactoryAccessLock) { corbaContactInfoListFactory = factory ; } }
Example #10
Source File: ParserTable.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private Operation makeContactInfoListFactoryOperation() { Operation op = new Operation() { public Object operate( Object value ) { String param = (String)value ; try { Class<?> contactInfoListFactoryClass = 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 (CorbaContactInfoListFactory.class.isAssignableFrom( contactInfoListFactoryClass)) { return contactInfoListFactoryClass.newInstance(); } else { throw wrapper.illegalContactInfoListFactoryType( contactInfoListFactoryClass.toString() ) ; } } catch (Exception ex) { // ClassNotFoundException, IllegalAccessException, // InstantiationException, SecurityException or // ClassCastException throw wrapper.badContactInfoListFactory( ex, param ) ; } } } ; return op ; }
Example #11
Source File: ORBImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public void setCorbaContactInfoListFactory( CorbaContactInfoListFactory factory ) { synchronized (this) { checkShutdownState(); } synchronized (corbaContactInfoListFactoryAccessLock) { corbaContactInfoListFactory = factory ; } }
Example #12
Source File: ParserTable.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private Operation makeContactInfoListFactoryOperation() { Operation op = new Operation() { public Object operate( Object value ) { String param = (String)value ; try { Class<?> contactInfoListFactoryClass = 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 (CorbaContactInfoListFactory.class.isAssignableFrom( contactInfoListFactoryClass)) { return contactInfoListFactoryClass.newInstance(); } else { throw wrapper.illegalContactInfoListFactoryType( contactInfoListFactoryClass.toString() ) ; } } catch (Exception ex) { // ClassNotFoundException, IllegalAccessException, // InstantiationException, SecurityException or // ClassCastException throw wrapper.badContactInfoListFactory( ex, param ) ; } } } ; return op ; }
Example #13
Source File: ParserTable.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private Operation makeContactInfoListFactoryOperation() { Operation op = new Operation() { public Object operate( Object value ) { String param = (String)value ; try { Class<?> contactInfoListFactoryClass = 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 (CorbaContactInfoListFactory.class.isAssignableFrom( contactInfoListFactoryClass)) { return contactInfoListFactoryClass.newInstance(); } else { throw wrapper.illegalContactInfoListFactoryType( contactInfoListFactoryClass.toString() ) ; } } catch (Exception ex) { // ClassNotFoundException, IllegalAccessException, // InstantiationException, SecurityException or // ClassCastException throw wrapper.badContactInfoListFactory( ex, param ) ; } } } ; return op ; }
Example #14
Source File: TransportDefault.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public static CorbaContactInfoListFactory makeCorbaContactInfoListFactory( final ORB broker ) { return new CorbaContactInfoListFactory() { public void setORB(ORB orb) { } public CorbaContactInfoList create( IOR ior ) { return new CorbaContactInfoListImpl( (com.sun.corba.se.spi.orb.ORB)broker, ior ) ; } }; }
Example #15
Source File: TransportDefault.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public static CorbaContactInfoListFactory makeCorbaContactInfoListFactory( final ORB broker ) { return new CorbaContactInfoListFactory() { public void setORB(ORB orb) { } public CorbaContactInfoList create( IOR ior ) { return new CorbaContactInfoListImpl( (com.sun.corba.se.spi.orb.ORB)broker, ior ) ; } }; }
Example #16
Source File: ORBImpl.java From JDKSourceCode1.8 with MIT License | 5 votes |
public void setCorbaContactInfoListFactory( CorbaContactInfoListFactory factory ) { synchronized (this) { checkShutdownState(); } synchronized (corbaContactInfoListFactoryAccessLock) { corbaContactInfoListFactory = factory ; } }
Example #17
Source File: ParserTable.java From JDKSourceCode1.8 with MIT License | 5 votes |
private Operation makeContactInfoListFactoryOperation() { Operation op = new Operation() { public Object operate( Object value ) { String param = (String)value ; try { Class<?> contactInfoListFactoryClass = 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 (CorbaContactInfoListFactory.class.isAssignableFrom( contactInfoListFactoryClass)) { return contactInfoListFactoryClass.newInstance(); } else { throw wrapper.illegalContactInfoListFactoryType( contactInfoListFactoryClass.toString() ) ; } } catch (Exception ex) { // ClassNotFoundException, IllegalAccessException, // InstantiationException, SecurityException or // ClassCastException throw wrapper.badContactInfoListFactory( ex, param ) ; } } } ; return op ; }
Example #18
Source File: TransportDefault.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public static CorbaContactInfoListFactory makeCorbaContactInfoListFactory( final ORB broker ) { return new CorbaContactInfoListFactory() { public void setORB(ORB orb) { } public CorbaContactInfoList create( IOR ior ) { return new CorbaContactInfoListImpl( (com.sun.corba.se.spi.orb.ORB)broker, ior ) ; } }; }
Example #19
Source File: TransportDefault.java From JDKSourceCode1.8 with MIT License | 5 votes |
public static CorbaContactInfoListFactory makeCorbaContactInfoListFactory( final ORB broker ) { return new CorbaContactInfoListFactory() { public void setORB(ORB orb) { } public CorbaContactInfoList create( IOR ior ) { return new CorbaContactInfoListImpl( (com.sun.corba.se.spi.orb.ORB)broker, ior ) ; } }; }
Example #20
Source File: ParserTable.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private Operation makeContactInfoListFactoryOperation() { Operation op = new Operation() { public Object operate( Object value ) { String param = (String)value ; try { Class<?> contactInfoListFactoryClass = 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 (CorbaContactInfoListFactory.class.isAssignableFrom( contactInfoListFactoryClass)) { return contactInfoListFactoryClass.newInstance(); } else { throw wrapper.illegalContactInfoListFactoryType( contactInfoListFactoryClass.toString() ) ; } } catch (Exception ex) { // ClassNotFoundException, IllegalAccessException, // InstantiationException, SecurityException or // ClassCastException throw wrapper.badContactInfoListFactory( ex, param ) ; } } } ; return op ; }
Example #21
Source File: ORBImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public void setCorbaContactInfoListFactory( CorbaContactInfoListFactory factory ) { synchronized (this) { checkShutdownState(); } synchronized (corbaContactInfoListFactoryAccessLock) { corbaContactInfoListFactory = factory ; } }
Example #22
Source File: ORBImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public void setCorbaContactInfoListFactory( CorbaContactInfoListFactory factory ) { synchronized (this) { checkShutdownState(); } synchronized (corbaContactInfoListFactoryAccessLock) { corbaContactInfoListFactory = factory ; } }
Example #23
Source File: ParserTable.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private Operation makeContactInfoListFactoryOperation() { Operation op = new Operation() { public Object operate( Object value ) { String param = (String)value ; try { Class<?> contactInfoListFactoryClass = 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 (CorbaContactInfoListFactory.class.isAssignableFrom( contactInfoListFactoryClass)) { return contactInfoListFactoryClass.newInstance(); } else { throw wrapper.illegalContactInfoListFactoryType( contactInfoListFactoryClass.toString() ) ; } } catch (Exception ex) { // ClassNotFoundException, IllegalAccessException, // InstantiationException, SecurityException or // ClassCastException throw wrapper.badContactInfoListFactory( ex, param ) ; } } } ; return op ; }
Example #24
Source File: TransportDefault.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public static CorbaContactInfoListFactory makeCorbaContactInfoListFactory( final ORB broker ) { return new CorbaContactInfoListFactory() { public void setORB(ORB orb) { } public CorbaContactInfoList create( IOR ior ) { return new CorbaContactInfoListImpl( (com.sun.corba.se.spi.orb.ORB)broker, ior ) ; } }; }
Example #25
Source File: ORBSingleton.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
public void setCorbaContactInfoListFactory( CorbaContactInfoListFactory factory ) { }
Example #26
Source File: ORBSingleton.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
public CorbaContactInfoListFactory getCorbaContactInfoListFactory() { return getFullORB().getCorbaContactInfoListFactory() ; }
Example #27
Source File: ORBDataParserImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public CorbaContactInfoListFactory getCorbaContactInfoListFactory() { return corbaContactInfoListFactory; }
Example #28
Source File: ORBImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
public synchronized CorbaContactInfoListFactory getCorbaContactInfoListFactory() { checkShutdownState(); return corbaContactInfoListFactory ; }
Example #29
Source File: ORBDataParserImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
public CorbaContactInfoListFactory getCorbaContactInfoListFactory() { return corbaContactInfoListFactory; }
Example #30
Source File: ORBDataParserImpl.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
public CorbaContactInfoListFactory getCorbaContactInfoListFactory() { return corbaContactInfoListFactory; }