This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


java.rmi.activation
class ActivationGroupDesc

java.lang.Object extended by java.rmi.activation.ActivationGroupDesc
All Implemented Interfaces:
Serializable

public final class ActivationGroupDesc
extends Object
implements Serializable

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

           Startup options for ActivationGroup implementations.
 
Constructor Summary

          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.
 
Method Summary
 boolean

          Compares two activation group descriptors for content equality.
 String

          Returns the group's class name (possibly null).
 ActivationGroupDesc.CommandEnvironment

          Returns the group's command-environment control object.
 MarshalledObject

          Returns the group's initialization data.
 String

          Returns the group's code location.
 Properties

          Returns the group's property-override list.
 int

          Produce identical numbers for similar ActivationGroupDescs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivationGroupDesc

public ActivationGroupDesc(Properties overrides,
                           ActivationGroupDesc.CommandEnvironment cmd)
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.

Parameters:
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).

ActivationGroupDesc

public 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.

Parameters:
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).
Method Detail

equals

public boolean equals(Object obj)
Compares two activation group descriptors for content equality.

Overrides:
equals in class Object
Parameters:
obj - the Object to compare with
Returns:
true if these Objects are equal; false otherwise.

getClassName

public String getClassName()
Returns the group's class name (possibly null). A null group class name indicates the system's default ActivationGroup implementation.

Returns:
the group's class name

getCommandEnvironment

public ActivationGroupDesc.CommandEnvironment getCommandEnvironment()
Returns the group's command-environment control object.

Returns:
the command-environment object, or null

getData

public MarshalledObject getData()
Returns the group's initialization data.

Returns:
the group's initialization data

getLocation

public String getLocation()
Returns the group's code location.

Returns:
the group's code location

getPropertyOverrides

public Properties getPropertyOverrides()
Returns the group's property-override list.

Returns:
the property-override list, or null

hashCode

public int hashCode()
Produce identical numbers for similar ActivationGroupDescs.

Overrides:
hashCode in class Object
Returns:
an integer


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.