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

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? activationid.java

?? JAVA基本類源代碼,大家可以學(xué)習(xí)學(xué)習(xí)!
?? JAVA
字號(hào):
/* * @(#)ActivationID.java	1.24 03/01/23 * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package java.rmi.activation;import java.rmi.*;import java.rmi.server.RemoteObject;import java.rmi.server.RemoteRef;import java.rmi.server.UID;import sun.rmi.server.RemoteProxy;import sun.security.action.GetPropertyAction;/** * Activation makes use of special identifiers to denote remote * objects that can be activated over time. An activation identifier * (an instance of the class <code>ActivationID</code>) contains several * pieces of information needed for activating an object: * <ul> * <li> a remote reference to the object's activator (a {@link * java.rmi.server.RemoteRef RemoteRef} * instance), and * <li> a unique identifier (a {@link java.rmi.server.UID UID} * instance) for the object. </ul> <p> * * An activation identifier for an object can be obtained by registering * an object with the activation system. Registration is accomplished * in a few ways: <ul> * <li>via the <code>Activatable.register</code> method * <li>via the first <code>Activatable</code> constructor (that takes * three arguments and both registers and exports the object, and * <li>via the first <code>Activatable.exportObject</code> method * that takes the activation descriptor, object and port as arguments; * this method both registers and exports the object. </ul> * * @author	Ann Wollrath * @version	1.24, 03/01/23 * @see		Activatable * @since	1.2 */public class ActivationID implements java.io.Serializable {    /**     * the object's activator      */    private transient Activator activator;    /**     * the object's unique id      */    private transient UID uid = new UID();    /** indicate compatibility with the Java 2 SDK v1.2 version of class */    private static final long serialVersionUID = -4608673054848209235L;    /**     * The constructor for <code>ActivationID</code> takes a single     * argument, activator, that specifies a remote reference to the     * activator responsible for activating the object associated with     * this identifier. An instance of <code>ActivationID</code> is globally     * unique.     *     * @param activator reference to the activator responsible for     * activating the object     * @since 1.2     */    public ActivationID(Activator activator) {	this.activator = activator;    }    /**     * Activate the object for this id.     *     * @param force if true, forces the activator to contact the group     * when activating the object (instead of returning a cached reference);     * if false, returning a cached value is acceptable.     * @return the reference to the active remote object     * @exception ActivationException if activation fails     * @exception UnknownObjectException if the object is unknown     * @exception RemoteException if remote call fails     * @since 1.2     */    public Remote activate(boolean force)	throws ActivationException, UnknownObjectException, RemoteException    { 	try { 	    MarshalledObject mobj = 		(MarshalledObject)(activator.activate(this, force)); 	    return (Remote)mobj.get(); 	} catch (RemoteException e) { 	    throw e; 	} catch (java.io.IOException e) { 	    throw new UnmarshalException("activation failed", e); 	} catch (java.lang.ClassNotFoundException e) { 	    throw new UnmarshalException("activation failed", e);	}	    }        /**     * Returns a hashcode for the activation id.  Two identifiers that     * refer to the same remote object will have the same hash code.     *     * @see java.util.Hashtable     * @since 1.2     */    public int hashCode() {	return uid.hashCode();    }    /**     * Compares two activation ids for content equality.     * Returns true if both of the following conditions are true:     * 1) the unique identifiers equivalent (by content), and     * 2) the activator specified in each identifier     *    refers to the same remote object.     *     * @param	obj	the Object to compare with     * @return	true if these Objects are equal; false otherwise.     * @see		java.util.Hashtable     * @since 1.2     */    public boolean equals(Object obj) {	if (obj instanceof ActivationID) {	    ActivationID id = (ActivationID)obj;	    return (uid.equals(id.uid) && activator.equals(id.activator));	} else {	    return false;	}    }        /**     * <code>writeObject</code> for custom serialization.     *     * <p>This method writes this object's serialized form for     * this class as follows:     *     * <p>The <code>writeObject</code> method is invoked on     * <code>out</code> passing this object's unique identifier     * (a {@link java.rmi.server.UID UID} instance) as the argument.     *     * <p>Next, the {@link     * java.rmi.server.RemoteRef#getRefClass(java.io.ObjectOutput)     * getRefClass} method is invoked on the activator's     * <code>RemoteRef</code> instance to obtain its external ref     * type name.  Next, the <code>writeUTF</code> method is     * invoked on <code>out</code> with the value returned by     * <code>getRefClass</code>, and then the     * <code>writeExternal</code> method is invoked on the     * <code>RemoteRef</code> instance passing <code>out</code>     * as the argument.     *     * @serialData The serialized data for this class comprises a     * <code>java.rmi.server.UID</code> (written with     * <code>ObjectOutput.writeObject</code>) followed by the     * external ref type name of the activator's     * <code>RemoteRef</code> instance (a string written with     * <code>ObjectOutput.writeUTF</code>), followed by the     * external form of the <code>RemoteRef</code> instance as     * written by its <code>writeExternal</code> method.     *     * <p>The external ref type name of the      * <code>RemoteRef</Code> instance is     * determined using the definitions of external ref type     * names specified in the {@link java.rmi.server.RemoteObject     * RemoteObject} <code>writeObject</code> method     * <b>serialData</b> specification.  Similarly, the data     * written by the <code>writeExternal</code> method and read     * by the <code>readExternal</code> method of     * <code>RemoteRef</code> implementation classes     * corresponding to each of the defined external ref type     * names is specified in the {@link     * java.rmi.server.RemoteObject RemoteObject}     * <code>writeObject</code> method <b>serialData</b>     * specification.  */    private void writeObject(java.io.ObjectOutputStream out)	throws java.io.IOException, java.lang.ClassNotFoundException    {	out.writeObject(uid);	RemoteRef ref = ((RemoteObject)activator).getRef();	out.writeUTF(ref.getRefClass(out));	ref.writeExternal(out);    }    /**     * <code>readObject</code> for custom serialization.     *     * <p>This method reads this object's serialized form for this     * class as follows:     *      * <p>The <code>readObject</code> method is invoked on     * <code>in</code> to read this object's unique identifier     * (a {@link java.rmi.server.UID UID} instance).     *     * <p>Next, the <code>readUTF</code> method is invoked on     * <code>in</code> to read the external ref type name of the     * <code>RemoteRef</code> instance for this object's     * activator.  Next, the <code>RemoteRef</code>     * instance is created of an implementation-specific class     * corresponding to the external ref type name (returned by     * <code>readUTF</code>), and the <code>readExternal</code>     * method is invoked on that <code>RemoteRef</code> instance     * to read the external form corresponding to the external     * ref type name.     *     * <p>Note: If the external ref type name is     * <code>"UnicastRef"</code>, <code>"UnicastServerRef"</code>,     * <code>"UnicastRef2"</code>, <code>"UnicastServerRef2"</code>,     * <code>"ActivatableRef"</code>, or     * <code>"ActivatableServerRef"</code>, a corresponding     * implementation-specific class must be found, and its     * <code>readExternal</code> method must read the serial data     * for that external ref type name as specified to be written     * in the <b>serialData</b> documentation for this class.     * If the external ref type name is any other string (of non-zero     * length), a <code>ClassNotFoundException</code> will be thrown,     * unless the implementation provides an implementation-specific     * class corresponding to that external ref type name, in which     * case the <code>RemoteRef</code> will be an instance of     * that implementation-specific class.     */    private void readObject(java.io.ObjectInputStream in) 	throws java.io.IOException, java.lang.ClassNotFoundException    {	uid = (UID)in.readObject();		try {	    Class refClass = Class.forName(RemoteRef.packagePrefix + "." +					   in.readUTF());	    RemoteRef ref = (RemoteRef)refClass.newInstance();	    ref.readExternal(in);	    activator =		(Activator)RemoteProxy.getStub(activatorClassName, ref);	} catch (InstantiationException e) {	    throw new UnmarshalException("Unable to create remote reference",					 e);	} catch (IllegalAccessException e) {	    throw new UnmarshalException("Illegal access creating remote reference");	}    }    private static String activatorClassName;        static     {	activatorClassName = (String) java.security.AccessController.doPrivileged(	      new GetPropertyAction("java.rmi.activation.activator.class",				    "sun.rmi.server.Activation$ActivatorImpl"));    }}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
视频一区中文字幕| 亚洲一区二区三区影院| 久久 天天综合| 精品久久国产字幕高潮| 国产一区二区调教| wwwwww.欧美系列| 成a人片国产精品| 亚洲国产成人91porn| 欧美日韩精品高清| 久久99国产乱子伦精品免费| 国产日韩av一区二区| 91麻豆6部合集magnet| 亚洲国产精品久久艾草纯爱| 精品国产成人在线影院| 成人精品视频.| 亚洲一区二区三区中文字幕| 日韩午夜在线影院| 成人看片黄a免费看在线| 亚洲在线视频免费观看| 日韩精品专区在线影院观看| 成人黄色网址在线观看| 亚洲大型综合色站| 久久久久久久综合日本| 在线视频欧美区| 免费视频最近日韩| 国产精品国产三级国产有无不卡| 欧美日韩久久不卡| 国产河南妇女毛片精品久久久| 亚洲欧美日韩一区二区| 日韩欧美视频一区| 91久久精品一区二区二区| 国产一区欧美二区| 亚洲h在线观看| 国产精品精品国产色婷婷| 欧美一区二区免费观在线| av在线不卡观看免费观看| 日韩二区在线观看| 自拍偷拍亚洲欧美日韩| 欧美不卡一区二区| 日本韩国欧美一区| 国产一区 二区 三区一级| 婷婷夜色潮精品综合在线| 国产精品你懂的| 欧美xxxxxxxx| 欧美日韩国产影片| 91丝袜呻吟高潮美腿白嫩在线观看| 免费成人美女在线观看| 一区二区三区蜜桃| 国产精品国产a| 精品少妇一区二区三区视频免付费| 色婷婷综合久色| 福利一区在线观看| 久久99九九99精品| 污片在线观看一区二区| 亚洲美女视频在线| 国产精品美女久久久久高潮| 日韩精品一区二区三区四区| 欧美视频在线播放| 一本大道久久a久久精二百| 成人美女在线视频| 国产不卡视频一区| 国产剧情一区在线| 国产一区 二区| 国产一区二区三区黄视频| 麻豆精品国产91久久久久久| 亚洲国产毛片aaaaa无费看| 亚洲精品视频在线看| 综合久久给合久久狠狠狠97色 | 久久久久久99精品| 日韩美女主播在线视频一区二区三区| 欧美日韩免费电影| 在线播放/欧美激情| 欧美日韩国产美| 欧美日韩精品欧美日韩精品一| 欧美亚洲综合一区| 欧美综合天天夜夜久久| 欧美三级资源在线| 欧美精品一二三区| 日韩欧美国产系列| 久久婷婷成人综合色| 久久亚洲精华国产精华液| 久久久综合视频| 亚洲国产精品黑人久久久| 国产日本欧美一区二区| 国产精品丝袜91| 亚洲美女偷拍久久| 污片在线观看一区二区| 美国精品在线观看| 国产一区二区三区国产| 9久草视频在线视频精品| 91色视频在线| 欧美日本乱大交xxxxx| 欧美一卡二卡三卡| 久久久国际精品| 亚洲日本在线视频观看| 亚洲成人精品一区二区| 久久99精品国产麻豆婷婷| 国产精品一线二线三线| 99精品久久只有精品| 欧美性大战久久| 26uuu亚洲| 一区二区三区自拍| 麻豆精品在线看| 99精品视频在线播放观看| 制服丝袜国产精品| 国产欧美精品一区二区色综合 | 国产99久久久国产精品潘金| 成人的网站免费观看| 欧美日韩激情在线| 国产亚洲欧美色| 一区二区三区高清| 黄色精品一二区| 色欧美片视频在线观看| 日韩一级片在线观看| 亚洲欧洲精品一区二区精品久久久| 亚洲国产va精品久久久不卡综合| 国产精品一二三区| 欧美丝袜丝交足nylons图片| 国产婷婷色一区二区三区在线| 亚洲一区在线观看视频| 国产精品一级二级三级| 欧美视频自拍偷拍| 国产精品伦理在线| 日本sm残虐另类| 色激情天天射综合网| 久久亚洲精品国产精品紫薇| 亚洲成人在线观看视频| 成人一级片网址| 欧美电影免费观看高清完整版在 | 在线电影院国产精品| 国产精品色婷婷久久58| 久久精品国产澳门| 欧美无乱码久久久免费午夜一区| 国产调教视频一区| 日本欧美大码aⅴ在线播放| 色综合天天综合色综合av| 欧美韩日一区二区三区四区| 男人的天堂久久精品| 色婷婷av一区二区三区之一色屋| 国产日韩欧美在线一区| 日本中文在线一区| 欧美视频一区在线| 亚洲欧洲中文日韩久久av乱码| 国产黄人亚洲片| 久久综合视频网| 精品一区精品二区高清| 欧美一区二区三区成人| 亚洲成人精品影院| 欧美在线999| 亚洲一区欧美一区| 91麻豆蜜桃一区二区三区| 国产精品视频yy9299一区| 国产精品一卡二| 国产日韩一级二级三级| 韩国精品一区二区| 久久亚洲精品国产精品紫薇| 久久99久久精品| 亚洲精品一区二区三区99| 免费在线观看日韩欧美| 欧美一区二区三区四区五区| 性做久久久久久久免费看| 欧美日韩一区二区三区免费看| 艳妇臀荡乳欲伦亚洲一区| 91在线视频免费观看| 亚洲欧美在线高清| 91免费观看国产| 依依成人综合视频| 欧美亚洲免费在线一区| 午夜成人在线视频| 3atv一区二区三区| 麻豆精品一区二区av白丝在线 | 国产亚洲一区二区三区在线观看| 免费成人在线影院| 日韩亚洲欧美中文三级| 国内精品免费在线观看| 国产日产欧美精品一区二区三区| 成人免费的视频| 亚洲欧美激情插| 欧美二区三区的天堂| 精品一区二区三区影院在线午夜| 久久久久久毛片| 91免费视频观看| 亚洲第一二三四区| 欧美mv和日韩mv的网站| 风间由美一区二区av101| 国产精品久久久久久久岛一牛影视| 99精品国产91久久久久久| 亚洲一区二区综合| 51精品国自产在线| 国产一区二区三区美女| 亚洲视频1区2区| 欧美人与禽zozo性伦| 激情六月婷婷久久| 中文字幕亚洲区| 91精品婷婷国产综合久久竹菊| 国产资源精品在线观看| 国产精品久久久久久久第一福利 | 精品视频1区2区3区| 麻豆精品视频在线| 日韩毛片视频在线看|