本文整理了Java中javax.rmi.CORBA.Util.getORBPropertiesFile()
方法的一些代码示例,展示了Util.getORBPropertiesFile()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.getORBPropertiesFile()
方法的具体详情如下:
包路径:javax.rmi.CORBA.Util
类名称: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)
内容来源于网络,如有侵权,请联系作者删除!