src/share/classes/java/rmi/activation/ActivationGroupDesc.java

Print this page




  32 import java.util.Arrays;
  33 import java.util.Properties;
  34 
  35 /**
  36  * An activation group descriptor contains the information necessary to
  37  * create/recreate an activation group in which to activate objects.
  38  * Such a descriptor contains: <ul>
  39  * <li> the group's class name,
  40  * <li> the group's code location (the location of the group's class), and
  41  * <li> a "marshalled" object that can contain group specific
  42  * initialization data. </ul> <p>
  43  *
  44  * The group's class must be a concrete subclass of
  45  * <code>ActivationGroup</code>. A subclass of
  46  * <code>ActivationGroup</code> is created/recreated via the
  47  * <code>ActivationGroup.createGroup</code> static method that invokes
  48  * a special constructor that takes two arguments: <ul>
  49  *
  50  * <li> the group's <code>ActivationGroupID</code>, and
  51  * <li> the group's initialization data (in a
  52  * <code>java.rmi.MarshalledObject</code>)</ul><p>
  53  *
  54  * @author      Ann Wollrath
  55  * @since       1.2
  56  * @see         ActivationGroup
  57  * @see         ActivationGroupID
  58  */
  59 public final class ActivationGroupDesc implements Serializable {
  60 
  61     /**
  62      * @serial The group's fully package qualified class name.
  63      */
  64     private String className;
  65 
  66     /**
  67      * @serial The location from where to load the group's class.
  68      */
  69     private String location;
  70 
  71     /**
  72      * @serial The group's initialization data.




  32 import java.util.Arrays;
  33 import java.util.Properties;
  34 
  35 /**
  36  * An activation group descriptor contains the information necessary to
  37  * create/recreate an activation group in which to activate objects.
  38  * Such a descriptor contains: <ul>
  39  * <li> the group's class name,
  40  * <li> the group's code location (the location of the group's class), and
  41  * <li> a "marshalled" object that can contain group specific
  42  * initialization data. </ul> <p>
  43  *
  44  * The group's class must be a concrete subclass of
  45  * <code>ActivationGroup</code>. A subclass of
  46  * <code>ActivationGroup</code> is created/recreated via the
  47  * <code>ActivationGroup.createGroup</code> static method that invokes
  48  * a special constructor that takes two arguments: <ul>
  49  *
  50  * <li> the group's <code>ActivationGroupID</code>, and
  51  * <li> the group's initialization data (in a
  52  * <code>java.rmi.MarshalledObject</code>)</ul>
  53  *
  54  * @author      Ann Wollrath
  55  * @since       1.2
  56  * @see         ActivationGroup
  57  * @see         ActivationGroupID
  58  */
  59 public final class ActivationGroupDesc implements Serializable {
  60 
  61     /**
  62      * @serial The group's fully package qualified class name.
  63      */
  64     private String className;
  65 
  66     /**
  67      * @serial The location from where to load the group's class.
  68      */
  69     private String location;
  70 
  71     /**
  72      * @serial The group's initialization data.