javax.rmi.CORBA.Util.getORBPropertiesFile()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(1.2k)|赞(0)|评价(0)|浏览(130)

本文整理了Java中javax.rmi.CORBA.Util.getORBPropertiesFile()方法的一些代码示例,展示了Util.getORBPropertiesFile()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.getORBPropertiesFile()方法的具体详情如下:
包路径:javax.rmi.CORBA.Util
类名称:Util
方法名:getORBPropertiesFile

Util.getORBPropertiesFile介绍

暂无

代码示例

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

private static Object createDelegateIfSpecified(String classKey)
{
  String className = (String)
    AccessController.doPrivileged(new GetPropertyAction(classKey));
  if (className == null) {
    Properties props = getORBPropertiesFile();
    if (props != null) {
      className = props.getProperty(classKey);
    }
  }
  if (className == null) {
    return new com.sun.corba.se.impl.javax.rmi.CORBA.Util();
  }
  try {
    return loadDelegateClass(className).newInstance();
  } catch (ClassNotFoundException ex) {
    INITIALIZE exc = new INITIALIZE( "Cannot instantiate " + className);
    exc.initCause( ex ) ;
    throw exc ;
  } catch (Exception ex) {
    INITIALIZE exc = new INITIALIZE( "Error while instantiating" + className);
    exc.initCause( ex ) ;
    throw exc ;
  }
}

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

if (className == null)
  Properties props = getORBPropertiesFile();
  if (props != null)

代码示例来源:origin: jboss/jboss-javaee-specs

if (className == null)
  Properties props = getORBPropertiesFile();
  if (props != null)

相关文章