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.