Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActivationInstantiator extends Remote
An ActivationInstantiator
is responsible for creating
instances of "activatable" objects. A concrete subclass of
ActivationGroup
implements the newInstance
method to handle creating objects within the group.
ActivationGroup
Modifier and Type | Method and Description |
---|---|
MarshalledObject<? extends Remote> |
newInstance(ActivationID id,
ActivationDesc desc)
The activator calls an instantiator's newInstance
method in order to recreate in that group an object with the
activation identifier, id , and descriptor,
desc . |
Method Detail |
---|
MarshalledObject<? extends Remote> newInstance(ActivationID id, ActivationDesc desc) throws ActivationException, RemoteException
newInstance
method in order to recreate in that group an object with the
activation identifier, id
, and descriptor,
desc
. The instantiator is responsible for: getClassName
method,
getLocation
method),
ActivationID
, and the
MarshalledObject
containing object specific
initialization data, and
id
- the object's activation identifierdesc
- the object's descriptorActivationException
- if object activation failsRemoteException
- if remote call fails
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.