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
)Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ActivationGroupDesc.CommandEnvironment | Startup options for ActivationGroup implementations. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a group descriptor that uses the system defaults for group
implementation and code location.
| |||||||||||
Specifies an alternate group implementation and execution
environment to be used for the group.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Compares two activation group descriptors for content equality.
| |||||||||||
Returns the group's class name (possibly
null ). | |||||||||||
Returns the group's command-environment control object.
| |||||||||||
Returns the group's initialization data.
| |||||||||||
Returns the group's code location.
| |||||||||||
Returns the group's property-override list.
| |||||||||||
Produce identical numbers for similar
ActivationGroupDesc s. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Constructs a group descriptor that uses the system defaults for group
implementation and code location. Properties specify Java
environment overrides (which will override system properties in
the group implementation's VM). The command
environment can control the exact command/options used in
starting the child VM, or can be 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 ). |
Specifies an alternate group implementation and execution environment to be used for the group.
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 ). |
Compares two activation group descriptors for content equality.
obj | the Object to compare with |
---|
Returns the group's class name (possibly null
). A
null
group class name indicates the system's default
ActivationGroup
implementation.
Returns the group's command-environment control object.
null
Returns the group's initialization data.
Returns the group's property-override list.
null