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

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

?? activationdesc.java

?? JAVA基本類源代碼,大家可以學習學習!
?? JAVA
字號:
/* * @(#)ActivationDesc.java	1.26 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.MarshalledObject;/** * An activation descriptor contains the information necessary to * activate an object: <ul> * <li> the object's group identifier, * <li> the object's fully-qualified class name, * <li> the object's code location (the location of the class), a codebase URL * path, * <li> the object's restart "mode", and, * <li> a "marshalled" object that can contain object specific * initialization data. </ul> * * <p>A descriptor registered with the activation system can be used to * recreate/activate the object specified by the descriptor. The * <code>MarshalledObject</code> in the object's descriptor is passed * as the second argument to the remote object's constructor for * object to use during reinitialization/activation. * * @author 	Ann Wollrath * @version	1.26, 01/23/03 * @since 	1.2 * @see         java.rmi.activation.Activatable */public final class ActivationDesc implements java.io.Serializable{    /**     * @serial the group's identifier      */    private ActivationGroupID groupID;    /**     * @serial the object's class name      */    private String className;        /**     * @serial the object's code location     */    private String location;    /**      * @serial the object's initialization data      */    private MarshalledObject data;    /**     * @serial indicates whether the object should be restarted     */    private boolean restart;    /** indicate compatibility with the Java 2 SDK v1.2 version of class */    private static final long serialVersionUID = 7455834104417690957L;    /**     * Constructs an object descriptor for an object whose class name     * is <code>className</code>, that can be loaded from the     * code <code>location</code> and whose initialization     * information is <code>data</code>. If this form of the constructor     * is used, the <code>groupID</code> defaults to the current id for     * <code>ActivationGroup</code> for this VM. All objects with the     * same <code>ActivationGroupID</code> are activated in the same VM.     *     * <p>Note that objects specified by a descriptor created with this     * constructor will only be activated on demand (by default, the restart     * mode is <code>false</code>).  If an activatable object requires restart     * services, use one of the <code>ActivationDesc</code> constructors that     * takes a boolean parameter, <code>restart</code>.     *     * <p> This constructor will throw <code>ActivationException</code> if     * there is no current activation group for this VM.  To create an     * <code>ActivationGroup</code> use the     * <code>ActivationGroup.createGroup</code> method.     *     * @param className the object's fully package qualified class name     * @param location the object's code location (from where the class is     * loaded)     * @param data the object's initialization (activation) data contained     * in marshalled form.     * @exception ActivationException if the current group is nonexistent     * @since 1.2     */    public ActivationDesc(String className,			  String location, 			  MarshalledObject data)	throws ActivationException    {	this(ActivationGroup.internalCurrentGroupID(),	     className, location, data, false);    }        /**     * Constructs an object descriptor for an object whose class name     * is <code>className</code>, that can be loaded from the     * code <code>location</code> and whose initialization     * information is <code>data</code>. If this form of the constructor     * is used, the <code>groupID</code> defaults to the current id for     * <code>ActivationGroup</code> for this VM. All objects with the     * same <code>ActivationGroupID</code> are activated in the same VM.     *     * <p>This constructor will throw <code>ActivationException</code> if     * there is no current activation group for this VM.  To create an     * <code>ActivationGroup</code> use the     * <code>ActivationGroup.createGroup</code> method.     *     * @param className the object's fully package qualified class name     * @param location the object's code location (from where the class is     * loaded)     * @param data the object's initialization (activation) data contained     * in marshalled form.     * @param restart if true, the object is restarted (reactivated) when     * either the activator is restarted or the object's activation group     * is restarted after an unexpected crash; if false, the object is only     * activated on demand.  Specifying <code>restart</code> to be     * <code>true</code> does not force an initial immediate activation of     * a newly registered object;  initial activation is lazy.     * @exception ActivationException if the current group is nonexistent     * @since 1.2     */    public ActivationDesc(String className,			  String location, 			  MarshalledObject data,			  boolean restart)	throws ActivationException    {	this(ActivationGroup.internalCurrentGroupID(),	     className, location, data, restart);    }    /**     * Constructs an object descriptor for an object whose class name     * is <code>className</code> that can be loaded from the     * code <code>location</code> and whose initialization     * information is <code>data</code>. All objects with the same     * <code>groupID</code> are activated in the same Java VM.     *     * <p>Note that objects specified by a descriptor created with this     * constructor will only be activated on demand (by default, the restart     * mode is <code>false</code>).  If an activatable object requires restart     * services, use one of the <code>ActivationDesc</code> constructors that     * takes a boolean parameter, <code>restart</code>.     *     * @param groupID the group's identifier (obtained from registering     * <code>ActivationSystem.registerGroup</code> method). The group     * indicates the VM in which the object should be activated.     * @param className the object's fully package-qualified class name     * @param location the object's code location (from where the class is     * loaded)     * @param data  the object's initialization (activation) data contained     * in marshalled form.     * @exception IllegalArgumentException if <code>groupID</code> is null     * @since 1.2     */   public ActivationDesc(ActivationGroupID groupID,			 String className, 			 String location, 			 MarshalledObject data)    {	this(groupID, className, location, data, false);    }    /**     * Constructs an object descriptor for an object whose class name     * is <code>className</code> that can be loaded from the     * code <code>location</code> and whose initialization     * information is <code>data</code>. All objects with the same     * <code>groupID</code> are activated in the same Java VM.     *     * @param groupID the group's identifier (obtained from registering     * <code>ActivationSystem.registerGroup</code> method). The group     * indicates the VM in which the object should be activated.     * @param className the object's fully package-qualified class name     * @param location the object's code location (from where the class is     * loaded)     * @param data  the object's initialization (activation) data contained     * in marshalled form.     * @param restart if true, the object is restarted (reactivated) when     * either the activator is restarted or the object's activation group     * is restarted after an unexpected crash; if false, the object is only     * activated on demand.  Specifying <code>restart</code> to be     * <code>true</code> does not force an initial immediate activation of     * a newly registered object;  initial activation is lazy.     * @exception IllegalArgumentException if <code>groupID</code> is null     * @since 1.2     */   public ActivationDesc(ActivationGroupID groupID,			 String className, 			 String location, 			 MarshalledObject data,			 boolean restart)    {	if (groupID == null)	    throw new IllegalArgumentException("groupID can't be null");	this.groupID = groupID;	this.className = className;	this.location = location;	this.data = data;	this.restart = restart;    }        /**     * Returns the group identifier for the object specified by this     * descriptor. A group provides a way to aggregate objects into a     * single Java virtual machine. RMI creates/activates objects with     * the same <code>groupID</code> in the same virtual machine.     *     * @return the group identifier     * @since 1.2     */    public ActivationGroupID getGroupID() {	return groupID;    }        /**     * Returns the class name for the object specified by this     * descriptor.     * @return the class name     * @since 1.2     */    public String getClassName() {	return className;    }        /**     * Returns the code location for the object specified by     * this descriptor.     * @return the code location     * @since 1.2     */    public String getLocation() {	return location;    }        /**     * Returns a "marshalled object" containing intialization/activation     * data for the object specified by this descriptor.     * @return the object specific "initialization" data     * @since 1.2     */    public MarshalledObject getData() {	return data;    }    /**     * Returns the "restart" mode of the object associated with     * this activation descriptor.     *     * @return true if the activatable object associated with this     * activation descriptor is restarted via the activation     * daemon when either the daemon comes up or the object's group     * is restarted after an unexpected crash; otherwise it returns false,     * meaning that the object is only activated on demand via a     * method call.  Note that if the restart mode is <code>true</code>, the     * activator does not force an initial immediate activation of     * a newly registered object;  initial activation is lazy.     * @since 1.2     */    public boolean getRestartMode() {	return restart;    }    /**     * Compares two activation descriptors for content equality.     *     * @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 ActivationDesc) {	    ActivationDesc desc = (ActivationDesc) obj;	    return		((groupID == null ? desc.groupID == null :		  groupID.equals(desc.groupID)) &&		 (className == null ? desc.className == null :		  className.equals(desc.className)) &&		 (location == null ? desc.location == null:		  location.equals(desc.location)) &&		 (data == null ? desc.data == null :		  data.equals(desc.data)) &&		 (restart == desc.restart));	} else {	    return false;	}    }    /**     * Return the same hashCode for similar <code>ActivationDesc</code>s.     * @return an integer     * @see java.util.Hashtable     */    public int hashCode()    {	return ((location == null		    ? 0		    : location.hashCode() << 24) ^		(groupID == null		    ? 0		    : groupID.hashCode() << 16) ^		(className == null		    ? 0		    : className.hashCode() << 9) ^		(data == null		    ? 0		    : data.hashCode() << 1) ^		(restart		    ? 1		    : 0));    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
午夜电影网一区| 午夜精品一区二区三区电影天堂 | 久久久久久99精品| 日韩一区二区中文字幕| 91视频国产资源| 91免费看片在线观看| av一二三不卡影片| av不卡在线播放| 一本一道久久a久久精品综合蜜臀| 亚洲天堂2014| 夜色激情一区二区| 日本美女一区二区| 久久精品国产77777蜜臀| 韩日av一区二区| 成人精品小蝌蚪| 日本道精品一区二区三区| 欧美日韩激情在线| 26uuu国产在线精品一区二区| 国产一区在线观看麻豆| 波多野结衣欧美| 91欧美一区二区| 91麻豆精品国产自产在线| 日韩免费视频线观看| 欧美国产激情一区二区三区蜜月| 3d动漫精品啪啪| 国产女人水真多18毛片18精品视频| 欧美在线free| 精品国产91乱码一区二区三区 | 亚洲bdsm女犯bdsm网站| 美女国产一区二区三区| 成人免费视频网站在线观看| 99视频在线精品| 欧美一区二区三区男人的天堂| 色综合久久久久网| 91精品国产高清一区二区三区| 91小视频免费观看| 精品国产一区二区三区久久影院 | 免费成人在线影院| 国产69精品久久99不卡| 91传媒视频在线播放| 久久久久久久精| 亚洲色图欧洲色图| 国内国产精品久久| 91搞黄在线观看| 国产精品全国免费观看高清 | 日韩欧美一二三区| 中文字幕日韩一区| 麻豆精品一二三| 欧美日韩在线不卡| 日韩美女啊v在线免费观看| 美腿丝袜亚洲三区| 欧美日韩国产在线观看| 亚洲欧美在线高清| 东方欧美亚洲色图在线| 26uuu亚洲综合色欧美| 日韩中文欧美在线| 在线免费观看日本一区| 国产精品欧美久久久久一区二区| 国产精品免费视频观看| 日本欧美加勒比视频| 欧美午夜视频网站| 一区二区三区中文免费| 97se狠狠狠综合亚洲狠狠| 国产目拍亚洲精品99久久精品| 国产免费久久精品| 国产91高潮流白浆在线麻豆 | 91麻豆成人久久精品二区三区| 大桥未久av一区二区三区中文| 成人国产精品免费观看| 日韩欧美中文字幕制服| 五月天国产精品| 在线不卡一区二区| 日本午夜精品视频在线观看| 制服丝袜亚洲色图| 日韩av高清在线观看| 欧美久久一二三四区| 亚洲第一福利一区| 91麻豆精品国产自产在线观看一区| 日韩欧美一级二级三级| 极品瑜伽女神91| 国产视频在线观看一区二区三区| 国产精品丝袜一区| 99国产精品国产精品久久| 中文字幕精品一区| 色综合久久久久久久久久久| 亚洲精品精品亚洲| 欧美人牲a欧美精品| 久久精品国产精品亚洲综合| 国产日韩欧美激情| 在线亚洲一区二区| 秋霞影院一区二区| 久久―日本道色综合久久| 国产成人av电影| 亚洲一区二区综合| 欧美一区二区久久| 粉嫩av一区二区三区| 亚洲一区二区三区四区中文字幕 | 色欧美乱欧美15图片| 一区二区三区中文在线观看| 欧美视频自拍偷拍| 欧美aaa在线| 国产精品系列在线| 欧美三区在线观看| 精品在线观看视频| 亚洲与欧洲av电影| 精品少妇一区二区三区在线视频| 亚洲成av人片一区二区三区| 日韩午夜激情视频| 99v久久综合狠狠综合久久| 人妖欧美一区二区| 久久精品视频免费| 欧美肥大bbwbbw高潮| 成人一区二区三区视频| 丝袜亚洲精品中文字幕一区| 欧美国产日本韩| 日韩视频国产视频| 色天使色偷偷av一区二区| 久久97超碰色| 日日噜噜夜夜狠狠视频欧美人| 在线观看视频一区二区| 国产精一品亚洲二区在线视频| 日韩精品资源二区在线| 91在线国产福利| 老司机精品视频导航| 亚洲一区二区高清| 中文字幕免费不卡在线| 日韩精品在线网站| 欧美日本在线观看| 在线一区二区三区| 99精品视频在线观看免费| 国内精品久久久久影院色| 亚洲大片精品永久免费| 亚洲日本免费电影| 国产精品超碰97尤物18| 国产日韩欧美制服另类| 久久综合中文字幕| 日韩女优av电影| 日韩一区二区麻豆国产| 色婷婷久久久亚洲一区二区三区 | 欧美高清在线精品一区| 制服.丝袜.亚洲.中文.综合| 91年精品国产| 成人小视频免费观看| 国产成人精品免费网站| 久草这里只有精品视频| 久久99久国产精品黄毛片色诱| 中文字幕国产精品一区二区| 久久久久综合网| 精品久久久久久无| 日韩美女一区二区三区| 精品99999| 久久久不卡网国产精品一区| 欧美xxxxxxxxx| 国产日韩欧美一区二区三区综合| 色综合中文综合网| 成人综合日日夜夜| 国产精品资源在线| 国产毛片精品一区| 丁香激情综合五月| 91免费视频网| 欧美日韩国产精品成人| 欧美一区二区视频在线观看2022| 国产成人免费av在线| 成人动漫av在线| 91一区二区在线| 欧美性生活久久| 欧美zozozo| 日韩伦理av电影| 爽爽淫人综合网网站| 韩国毛片一区二区三区| 国产99久久久国产精品潘金| 国产一区二区网址| 99久久99久久综合| 欧美三级视频在线播放| 91精品国产91久久久久久一区二区| 波多野结衣在线一区| 91在线视频免费观看| 欧美精品一卡二卡| 久久综合久久久久88| 最新日韩在线视频| 日本中文字幕不卡| 高清不卡一区二区在线| 91福利国产精品| 国产日本一区二区| 亚洲国产aⅴ天堂久久| 国产精品一区二区男女羞羞无遮挡| 亚洲一本大道在线| 国产乱人伦偷精品视频免下载| 亚洲电影在线播放| 久久99精品一区二区三区三区| 五月婷婷色综合| 国产91丝袜在线观看| 欧美日韩另类国产亚洲欧美一级| 成人黄色软件下载| 欧美福利视频一区| 中文字幕一区二区三区在线观看| 久久久欧美精品sm网站| 亚洲精品日日夜夜| 国产精品综合av一区二区国产馆| 另类调教123区 |