public interface ActivationInstantiator extends Remote
ActivationInstantiator
负责创建“可激活”对象的实例。
的具体子类ActivationGroup
实现newInstance
方法来处理创建组中的对象。
ActivationGroup
Modifier and Type | Method and Description |
---|---|
MarshalledObject<? extends Remote> |
newInstance(ActivationID id, ActivationDesc desc)
激活器调用实例化器的
newInstance 方法,以便在该组中重新创建具有激活标识符
id 和描述
desc 。
|
MarshalledObject<? extends Remote> newInstance(ActivationID id, ActivationDesc desc) throws ActivationException, RemoteException
newInstance
方法,以便在该组中重新创建具有激活标识符id
和描述desc
。
实例负责人:
getClassName
方法确定对象的类, getLocation
方法), ActivationID
和MarshalledObject
包含对象特定的初始化数据,并 id
- 对象的激活标识符
desc
- 对象的描述符
ActivationException
- 如果对象激活失败
RemoteException
- 如果远程调用失败
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.