亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? orb.java

?? linux下編程用 編譯軟件
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
   *   * By default the built-in fully functional ORB is returned. The ORB class   * is found as described in the header of this class.   *   * @param applet the applet. The property org.omg.CORBA.ORBClass,   * if present, defines the used ORB implementation class. If this   * property is not present, the ORB class is found as described in the   * class header.   *   * @param props the properties, may be <code>null</code>.   *   * @return a newly created functional derivative of this abstract class.   */  public static ORB init(Applet applet, Properties props)  {    String ocn = applet.getParameter(FUNCTIONAL_ORB);    String lp = applet.getParameter(LISTENER_PORT);        if (ocn==null && lp!=null)      ocn = DEFAULT_FOCUSED_ORB;        ORB orb = createORB(props, ocn);    orb.set_parameters(applet, props);    return orb;  }  /**   * Creates the working instance of ORB for a standalone application.   *    * By default the built-in fully functional ORB is returned. The ORB class is   * found as described in the header of this class.   *    * @param args the parameters, passed to the applications   * <code>main(String[] args)</code> method, may be <code>null</code>. The   * parameter -org.omg.CORBA.ORBClass <class name> if present, defines the used   * ORB implementation class. If this property is not present, the ORB class is   * found as described in the class header.   *    * @param props application specific properties, may be <code>null</code>.   *    * @return a newly created functional derivative of this abstract class.   */  public static ORB init(String[] args, Properties props)  {    String ocn = null;    String lp = null;    String orbKey = "-" + FUNCTIONAL_ORB;    String lpKey = "-" + LISTENER_PORT;    if (args != null)      if (args.length >= 2)        {          for (int i = 0; i < args.length - 1; i++)            {              if (args[i].equals(orbKey))                ocn = args[i + 1];              if (args[i].equals(lpKey))                lp = args[i + 1];            }        }    if (lp != null && ocn == null)      ocn = DEFAULT_FOCUSED_ORB;    ORB orb = createORB(props, ocn);    orb.set_parameters(args, props);    return orb;  }  /**   * List the initially available CORBA objects (services).   *    * @return a list of services.   *    * @see #resolve_initial_references(String)   */  public abstract String[] list_initial_services();  /**   * Find and return the easily accessible CORBA object, addressed   * by name.  The returned object is typically casted to the more   * specific reference using the <code>narrow(Object)</code> method   * of its helper. The method resolves the following string values,   * returning the working objects:   * <table border="1"><tr><th>String</th><th>Object class</th>   * <th>Object use</th></tr>   *   * <tr><td>NameService</td><td>{@link org.omg.CosNaming.NamingContextExt}</td>   * <td>Finds (usually remote) object by its name.</td></tr>   *   * <tr><td>RootPOA</td><td>{@link org.omg.PortableServer.POA}</td>   * <td>Holds the POA tree for this ORB, where since 1.4 all servants   * should be connected.</td></tr>   *   * <tr><td>RootPOAManager</td><td>{@link org.omg.PortableServer.POAManager}   * </td><td>Regulates (suspends/resumes) the root POA   * activity</td></tr>   *   * <tr><td>POACurrent</td><td>{@link org.omg.PortableServer.Current}   * </td><td>Informs the current thread about the Id and POA of the   * object being currently served (the methods of   * <code>Current</code> return different values for   * different threads).   * </td></tr>   *   * <tr><td>CodecFactory</td><td>{@link org.omg.IOP.Codec}</td>   * <td>Encodes/decodes IDL data types into/from byte arrays.</td>   * </tr>   *   * <tr><td>DynAnyFactory</td><td>{@link org.omg.DynamicAny.DynAnyFactory}</td>   * <td>Creates DynAny's.</td>   * </tr>   *   * <tr><td>PICurrent</td><td>{@link org.omg.PortableInterceptor.Current}</td>   * <td>Contains multiple slots where an interceptor can rememeber the   * request - specific values between subsequent   * calls of the interceptor methods.</td>   * </tr>   *   * </table>   *   * @param name the object name.   * @return the object   * @throws org.omg.CORBA.ORBPackage.InvalidName if the given name   * is not associated with the known object.   */  public abstract Object resolve_initial_references(String name)    throws org.omg.CORBA.ORBPackage.InvalidName;  /**   * Get the IOR reference string for the given object.   * IOR can be compared with the Internet address for a web page,   * it provides means to locate the CORBA service on the web.   * IOR contains the host address, port number, the object identifier   * (key) inside the server, the communication protocol version,   * supported charsets and so on.   *   * @param forObject the CORBA object   * @return the object IOR representation.   * @see #string_to_object(String)   */  public abstract String object_to_string(Object forObject);  /**   * This should perform the implementation dependent unit of work in the   * main thread.   *   * This method is part of the support for the distribute use of the   * single execution thread.   *   * Same as in Suns releases at least till 1.4 inclusive,   * the distribute use of the single thread is not implemented.   * Use multiple threads, provided by jre.   *   * The method returns without action.   */  public void perform_work()  {  }  /**  * Checks if the ORB needs the main thread to perform some work.  * The method should return true if the ORB needs the main thread,  * and false if it does not.  *  * This method is part of the support for the distribute use of the  * single execution thread.  *  * Same as in Suns releases at least till 1.4 inclusive,  * the distributed use of the single thread is not implemented.  * Use multiple threads, provided by jre.  *  * @return false, always.  */  public boolean work_pending()  {    return false;  }  /**   * <p>Find and return the CORBA object, addressed by the given   * string representation. The object can be (an usually is)   * located on a remote computer, possibly running a different   * (not necessary java) CORBA implementation. The returned   * object is typically casted to the more specific reference   * using the <code>narrow(Object)</code> method of its helper.   * </p><p>   * This function supports the following input formats:<br>   * 1. IOR reference (<b>ior:</b>nnnnn ..), usually computer generated.<br>    * 2. <b>corbaloc:</b>[<b>iiop</b>][version.subversion<b>@</b>]<b>:</b>host[<b>:</b>port]<b>/</b><i>key</i>   * defines similar information as IOR reference, but is more human readable.   * This type of reference may also contain multiple addresses (see   * OMG documentation for complete format).<br>   * 3. <b>corbaloc:rir:/</b><i>name</i> defines internal reference on this   * ORB that is resolved using {@link #resolve_initial_references}, passing    * the given <i>name</i> as parameter.<br>   * 4. <b>corbaname:rir:#</b><i>name</i> states that the given <i>name</i>   * must be resolved using the naming service, default for this ORB.<br>   * 5. <b>corbaname:</b>[<b>iiop</b>][version.subversion<b>@</b>]<b>:</b>host[<b>:</b>port]<b>#</b><i>name</i>   * states that the <i>name</i> must be resolved using the naming service   * that runs on the given host at the given port. The ORB expects to find    * there the {@link org.omg.CosNaming.NamingContext} under the key    * "NameService.<br>   * 7. file://[file name] Read the object definition string from the    * file system<br>   * 8. http://[url] Read the object definition string from the provided   * url.<br>   * 9. ftp://[url] Read the object definition string from the provided   * url.<br>   *    * <p>The default port is always 2809. The default iiop version is 1.0   * that now may not always be supported, so we would recommend to specify   * the version explicitly.</p>   * <p>   * The examples of the corbaloc and corbaname addresses:<br>   * corbaname:rir:#xobj - ask local naming service for "xobj".<br>   * corbaname:rir:/NameService#xobj - same (long form).<br>   * corbaname:iiop:1.2@localhost:900#xobj - same, assuming that the naming    * service runs at port 900 on the local host and supports iiop 1.2.<br>   * corbaname:iiop:localhost#xobj - same, assuming that the naming    * service runs at port 2809 on the local host and supports iiop 1.0.<br>   * corbaloc::gnu.xxx.yy/Prod/TradingService - the object exists on the   * host gnu.xxx.yy, port 2809 having the key "Prod/TradingService". Its ORB    * supports iiop 1.0.<br>   * corbaloc::gnu.xxx.yy/Prod/TradingService:801 - the object exists on the   * host gnu.xxx.yy, port 801 having the key "Prod/TradingService". Its ORB    * supports iiop 1.0 (iiop keyword ommitted).<br>   * corbaloc:iiop:1.1@gnu.xxx.yy/Prod/TradingService - the object exists on the   * host gnu.xxx.yy, port 801 having the key "Prod/TradingService". Its ORB    * supports iiop 1.1.<br>   * corbaloc:rir:/NameService - the default naming service.   *   * @param IOR the object IOR representation string.   *   * @return the found CORBA object.   *    * @throws BAD_PARAM if the string being parsed is invalid.   * @throws DATA_CONVERSION if the string being parsed contains unsupported   * prefix or protocol.   *    * @see #object_to_string(org.omg.CORBA.Object)   */  public abstract Object string_to_object(String IOR);  /**   * Start listening on the input socket. This method   * blocks the current thread until {@link #shutdown(boolean)}   * is called and shutdown process is completed.   */  public void run()  {  }  /**   * Shutdown the ORB server.   *   * @param wait_for_completion if true, the current thread is   * suspended untile the shutdown process is complete.   */  public void shutdown(boolean wait_for_completion)  {  }  /**   * Destroy this server, releasing the occupied resources.   * The default method returns without action.   */  public void destroy()  {  }  /**   * Set the ORB parameters. This method is normally called from   * {@link #init(String[], Properties)}.   *   * @param para the parameters, that were passed as the parameters   * to the  <code>main(String[] args)</code> method of the current standalone   * application.   *   * @param props application specific properties that were passed   * as a second parameter in {@link #init(String[], Properties)}).   * Can be <code>null</code>.   */  protected abstract void set_parameters(String[] para, Properties props);  /**   * Set the ORB parameters. This method is normally called from   * {@link #init(Applet, Properties)}.   *   * @param app the current applet.   *   * @param props application specific properties, passed as the second   * parameter in {@link #init(Applet, Properties)}.   * Can be <code>null</code>.   */  protected abstract void set_parameters(Applet app, Properties props);  /**   * Get the property with the given name, searching in the standard   * places for the ORB properties.   */  private static String getCumulatedProperty(Properties props, String property)  {    String orb_cn = null;    if (props != null)      orb_cn = props.getProperty(property, null);    if (orb_cn == null)      orb_cn = System.getProperty(property, null);    if (orb_cn == null)      orb_cn = checkFile(property, "user.home", null);    if (orb_cn == null)      orb_cn = checkFile(property, "java.home", "lib");        return orb_cn;  }  /**   * Check if the property is defined in the existsting file orb.properties.   *   * @param property the property   * @param dir the system property, defining the folder where the   * file could be expected.   * @param subdir subfolder where to look for the file.   *   * @return the property value, null if not found or file does not exist.   */  private static String checkFile(String property, String dir, String subdir)  {    try      {        File f = new File(dir);        if (!f.exists())          return null;        if (subdir != null)          f = new File(f, subdir);        f = new File(f, "orb.properties");        if (!f.exists())          return null;        Properties p = new Properties();        p.load(new BufferedInputStream(new FileInputStream(f)));        return p.getProperty(property, null);      }    catch (IOException ex)      {        return null;      }  }  /**   * Create ORB when its name is possibly known.   *    * @param props properties, possibly containing the ORB name.   * @param orbClassName the direct ORB class name, overriding other possible   * locations, or null if not specified.   */  private static ORB createORB(Properties props, String orbClassName)  {    ORB orb = null;    if (orbClassName == null)      {        orbClassName = getCumulatedProperty(props, FUNCTIONAL_ORB);        if (orbClassName == null)          {            String lp = getCumulatedProperty(props, LISTENER_PORT);            if (lp != null)              orbClassName = DEFAULT_FOCUSED_ORB;            else              orbClassName = DEFAULT_FUNCTIONAL_ORB;          }      }    try      {        orb = (ORB) ObjectCreator.forName(orbClassName).newInstance();      }    catch (ClassNotFoundException ex)      {        noORB(orbClassName, ex);      }    catch (IllegalAccessException ex)      {        noORB(orbClassName, ex);      }    catch (InstantiationException ex)      {        noORB(orbClassName, ex);      }    return orb;  }  /**   * Throw the runtime exception.   *   * @param orb_c the ORB class name.   * @param why the explaining chained exception.   */  private static void noORB(String orb_c, Throwable why)  {    throw new RuntimeException("The ORB " + orb_c + " cannot be instantiated.",                               why                              );  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人黄色电影在线| 国产午夜久久久久| 国产网站一区二区| 亚洲一二三区不卡| 成人美女视频在线看| 91精品国产综合久久久久久久久久| 精品国产sm最大网站免费看| 亚洲欧美成aⅴ人在线观看 | 日韩欧美aaaaaa| 一区二区三区在线免费观看| 国产福利一区二区| 91精品国产日韩91久久久久久| 国产精品国产a| 国内精品国产三级国产a久久 | 洋洋成人永久网站入口| 国产精品一区二区在线播放 | 国产精品妹子av| 秋霞午夜av一区二区三区| 色婷婷精品大在线视频| 中文字幕中文字幕在线一区| 美女mm1313爽爽久久久蜜臀| 欧美精品精品一区| 亚洲一区二区美女| 欧美色图一区二区三区| 亚洲免费在线电影| 91亚洲精品乱码久久久久久蜜桃| 国产日韩一级二级三级| 国产精品主播直播| 国产性色一区二区| 国产成人av电影在线观看| 久久亚洲捆绑美女| 国产精品影视在线观看| 久久精品男人的天堂| 国产一区91精品张津瑜| 久久这里只有精品首页| 国产原创一区二区| 国产欧美视频一区二区| 成人app在线观看| 成人欧美一区二区三区小说| aaa欧美日韩| 一区二区三区在线视频观看58| 色综合天天狠狠| 亚洲综合在线视频| 欧美剧在线免费观看网站| 日韩黄色免费网站| 日韩欧美一区二区视频| 国产一区二区在线视频| 国产精品欧美一区喷水| 一本久久a久久精品亚洲| 久久精品国产澳门| 久久久噜噜噜久噜久久综合| 国产成人在线视频免费播放| 中文字幕五月欧美| 欧美日韩高清一区二区不卡| 免费不卡在线观看| www国产成人免费观看视频 深夜成人网 | 亚洲成精国产精品女| 欧美一区欧美二区| 国产99久久久国产精品潘金| 国产精品美女久久福利网站| 日本韩国一区二区三区| 日韩av二区在线播放| 2017欧美狠狠色| 色一情一伦一子一伦一区| 日韩和欧美的一区| 中文字幕av一区二区三区| 在线免费不卡视频| 国产一区不卡视频| 亚洲一区二区精品3399| 26uuu亚洲| 在线免费观看视频一区| 激情五月播播久久久精品| 亚洲女同一区二区| 欧美变态凌虐bdsm| 欧美丝袜丝交足nylons图片| 激情av综合网| 亚洲aⅴ怡春院| 国产精品免费免费| 日韩欧美成人一区| 在线精品国精品国产尤物884a| 精品一区二区三区蜜桃| 一级女性全黄久久生活片免费| 精品国产一区二区三区四区四 | 91美女福利视频| 久久国产剧场电影| 亚洲激情图片一区| 国产三级精品三级| 7777精品伊人久久久大香线蕉的 | 日韩高清在线观看| 亚洲色图制服丝袜| 久久久久久久久久看片| 欧美精品丝袜中出| 欧美亚洲免费在线一区| eeuss国产一区二区三区| 国产一区视频网站| 青娱乐精品在线视频| 亚洲精品国产a| 国产精品电影一区二区三区| 久久精品一区二区| 日韩一级完整毛片| 欧美精品久久久久久久多人混战| 91啪亚洲精品| www.欧美日韩| 国产成人久久精品77777最新版本| 三级一区在线视频先锋| 午夜一区二区三区在线观看| 亚洲色图视频免费播放| 国产精品国产自产拍高清av王其| 久久亚洲综合色| www国产精品av| 精品对白一区国产伦| 日韩欧美在线网站| 日韩一区二区中文字幕| 亚洲欧洲国产日韩| 国产精品超碰97尤物18| 中文字幕av一区二区三区| 久久精品亚洲麻豆av一区二区| 精品久久久久久久久久久久久久久| 91.com在线观看| 91麻豆精品国产自产在线观看一区| 欧美色中文字幕| 欧美人与禽zozo性伦| 日韩午夜精品视频| 精品动漫一区二区三区在线观看| 日韩精品一区二区三区视频| 精品久久人人做人人爰| 久久精品亚洲国产奇米99| 国产欧美一区二区精品忘忧草| 欧美国产日韩亚洲一区| 国产精品成人网| 亚洲卡通欧美制服中文| 午夜免费久久看| 韩国成人在线视频| 波多野洁衣一区| 欧美在线视频你懂得| 欧美一级高清片| 国产日韩欧美精品在线| 亚洲男人的天堂一区二区| 亚洲va欧美va国产va天堂影院| 日本欧美一区二区| 国产老女人精品毛片久久| kk眼镜猥琐国模调教系列一区二区| 97se亚洲国产综合自在线观| 欧美日韩国产一二三| 亚洲精品一区二区三区香蕉| 国产精品久久久久天堂| 亚洲国产日韩综合久久精品| 麻豆视频观看网址久久| 不卡一区在线观看| 欧美夫妻性生活| 国产午夜精品一区二区三区视频| 国产精品乱码一区二三区小蝌蚪| 亚洲色图视频网站| 久久精品国产精品亚洲红杏| a美女胸又www黄视频久久| 欧美一卡在线观看| 日韩理论片网站| 日本中文在线一区| 99久久精品国产导航| 日韩一区二区影院| 美女看a上一区| 99这里只有精品| 日韩一区二区三区高清免费看看| 欧美高清一级片在线观看| 亚洲国产精品久久久久秋霞影院 | 午夜视黄欧洲亚洲| 国产成人99久久亚洲综合精品| 欧美三级午夜理伦三级中视频| 国产丝袜欧美中文另类| 日韩影视精彩在线| 99re热这里只有精品免费视频 | 激情深爱一区二区| 欧美人牲a欧美精品| 中文字幕亚洲欧美在线不卡| 精品写真视频在线观看| 欧美精品在线观看一区二区| 中文字幕一区二区三区视频| 国产一级精品在线| 日韩免费观看2025年上映的电影 | 五月婷婷另类国产| 色综合天天综合狠狠| 久久综合狠狠综合| 美女精品自拍一二三四| 欧美日韩精品三区| 一区二区三区中文字幕精品精品| 国产精品一区二区在线看| 精品噜噜噜噜久久久久久久久试看| 亚洲国产一区二区三区| 91成人在线精品| 亚洲欧美日韩系列| 91色.com| 亚洲色大成网站www久久九九| 国产成人福利片| 欧美韩国一区二区| 国产福利精品导航| 久久精品视频免费观看| 国产一区二区三区四| 久久新电视剧免费观看| 韩日av一区二区| 久久久久久久久蜜桃|