java.lang.Objectjava.rmi.activation.ActivationGroupDesc
public final class 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:
Nested 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 the system defaults for group implementation and code location. |
|
ActivationGroupDesc
(
String
className,
String
location,
MarshalledObject
![]() ![]() 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 (possibly null). |
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 ActivationGroupDescs. |
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)
This constructor will create an ActivationGroupDesc with a null group class name, which indicates the system's default ActivationGroup implementation.
public ActivationGroupDesc(String className, String location, MarshalledObject<?> data,
data,Properties overrides, ActivationGroupDesc.CommandEnvironment cmd)
Method Detail |
---|
public String getClassName()
public String getLocation()
public MarshalledObject<?> getData()
public Properties getPropertyOverrides()
public ActivationGroupDesc.CommandEnvironment getCommandEnvironment()
public boolean equals(Object obj)
public int hashCode()