public final class ActivationGroupDesc extends Objectimplements Serializable
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 Form
| Modifier and Type | Class and Description |
|---|---|
static class |
ActivationGroupDesc
Startup options for ActivationGroup implementations.
|
| Constructor and Description |
|---|
ActivationGroupDesc(Properties
Constructs a group descriptor that uses the system defaults for group implementation and code location.
|
ActivationGroupDesc(String
Specifies an alternate group implementation and execution environment to be used for the group.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object
Compares two activation group descriptors for content equality.
|
String |
getClassName()
Returns the group's class name (possibly
null).
|
ActivationGroupDesc |
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
ActivationGroupDescs.
|
public ActivationGroupDesc(Propertiesoverrides, ActivationGroupDesc .CommandEnvironment cmd)
null to accept rmid's default.
This constructor will create an ActivationGroupDesc with a null group class name, which indicates the system's default ActivationGroup implementation.
overrides - 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(StringclassName, String location, MarshalledObject <?> data, Properties overrides, ActivationGroupDesc .CommandEnvironment cmd)
className - the group's package qualified class name or
null. A
null group class name indicates the system's default
ActivationGroup implementation.
location - the location from where to load the group's class
data - 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).
public StringgetClassName()
null). A
null group class name indicates the system's default
ActivationGroup implementation.
public StringgetLocation()
public MarshalledObject<?> getData()
public PropertiesgetPropertyOverrides()
null
public ActivationGroupDesc.CommandEnvironment getCommandEnvironment()
null
public boolean equals(Objectobj)