public final class ActivationGroupDesc extends Object implements Serializable
该集团的类必须是一个具体的子类ActivationGroup。一类的ActivationGroup创建/重新通过ActivationGroup.createGroup静态方法调用一个特殊的构造函数有两个参数:
ActivationGroupID,和java.rmi.MarshalledObject)ActivationGroup,
ActivationGroupID,
Serialized Form
| Modifier and Type | Class and Description |
|---|---|
static class |
ActivationGroupDesc.CommandEnvironment
对于activationgroup实现启动选项。
|
| Constructor and Description |
|---|
ActivationGroupDesc(Properties overrides, ActivationGroupDesc.CommandEnvironment cmd)
构造一个组描述符,该描述符使用组实现和代码位置的系统默认值。
|
ActivationGroupDesc(String className, String location, MarshalledObject<?> data, Properties overrides, ActivationGroupDesc.CommandEnvironment cmd)
指定要用于组的替代组实现和执行环境。
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
比较两个内容等式的激活组描述符。
|
String |
getClassName()
返回一组类的名字(可能
null)。
|
ActivationGroupDesc.CommandEnvironment |
getCommandEnvironment()
返回组的命令环境控制对象。
|
MarshalledObject<?> |
getData()
返回组的初始化数据。
|
String |
getLocation()
返回组的代码位置。
|
Properties |
getPropertyOverrides()
返回组的属性重写列表。
|
int |
hashCode()
产生类似的
ActivationGroupDescs相同的数字。
|
public ActivationGroupDesc(Properties overrides, ActivationGroupDesc.CommandEnvironment cmd)
null接受替换模块标识符的默认。
此构造函数将创建一个null组类名称的ActivationGroupDesc,说明该系统的默认ActivationGroup实施。
overrides -属性设置当团体重现。
cmd -在另一个进程执行VM控制选项(或
null)。
public ActivationGroupDesc(String className, String location, MarshalledObject<?> data, Properties overrides, ActivationGroupDesc.CommandEnvironment cmd)
className -集团包装合格的类名或
null。一个
null组类名称显示系统默认的
ActivationGroup实施。
location的位置加载的类
data -组的初始化数据(可以包含属性,例如)
overrides -性能图,在子进程的环境设置(默认重写那些将被翻译成
-D选项),或
null。
cmd -在另一个进程执行VM控制选项(或
null)。
public String getClassName()
null)。一个
null组类名称显示系统默认的
ActivationGroup实施。
public String getLocation()
public MarshalledObject<?> getData()
public Properties getPropertyOverrides()
null
public ActivationGroupDesc.CommandEnvironment getCommandEnvironment()
null
public boolean equals(Object obj)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.