Spec-Zone .ru
спецификации, руководства, описания, API
|
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.rmi.activation.ActivationGroupDesc
An activation group descriptor contains the information necessary to create/recreate an activation group in which to activate objects. Such a descriptor contains:
The group's class must be a concrete subclass of
ActivationGroup
. A subclass of
ActivationGroup
is created/recreated via the
ActivationGroup.createGroup
static method that invokes
a special constructor that takes two arguments:
ActivationGroupID
, and
java.rmi.MarshalledObject
)
ActivationGroup
,
ActivationGroupID
, Serialized FormInner Class Summary | |
static class |
ActivationGroupDesc.CommandEnvironment
Startup options for ActivationGroup implementations. |
Constructor Summary | |
ActivationGroupDesc(Properties overrides,
ActivationGroupDesc.CommandEnvironment cmd)
Constructs a group descriptor that uses system default for group implementation and code location. |
|
ActivationGroupDesc(String className,
String location,
MarshalledObject data,
Properties overrides,
ActivationGroupDesc.CommandEnvironment cmd)
Specifies an alternate group implementation and execution environment to be used for the group. |
Method Summary | |
boolean |
equals(Object obj)
Compares two activation group descriptors for content equality. |
String |
getClassName()
Returns the group's class name. |
ActivationGroupDesc.CommandEnvironment |
getCommandEnvironment()
Returns the group's command-environment control object. |
MarshalledObject |
getData()
Returns the group's initialization data. |
String |
getLocation()
Returns the group's code location. |
Properties |
getPropertyOverrides()
Returns the group's property-override list. |
int |
hashCode()
Produce identical numbers for similar ActivationGroupDesc s. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ActivationGroupDesc(Properties overrides, ActivationGroupDesc.CommandEnvironment cmd)
null
to accept
rmid's default.properties
- the set of properties to set when the group is
recreated.cmd
- the controlling options for executing the VM in
another process (or null).public ActivationGroupDesc(String className, String location, MarshalledObject data, Properties overrides, ActivationGroupDesc.CommandEnvironment cmd)
className
- the group's fully package qualified classNamelocation
- the location from where to load the group's
classdata
- the group's initialization data contained in
marshalled form (could contain properties, for example)overrides
- a properties map which will override those set
by default in the subprocess environment (will be translated
into -D
options), or null.cmd
- the controlling options for executing the VM in
another process (or null).Method Detail |
public String getClassName()
public String getLocation()
public MarshalledObject getData()
public Properties getPropertyOverrides()
public ActivationGroupDesc.CommandEnvironment getCommandEnvironment()
public boolean equals(Object obj)
obj
- the Object to compare withHashtable
public int hashCode()
ActivationGroupDesc
s.Hashtable
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |