< prev index next >

src/java.rmi/share/classes/sun/rmi/server/ActivationGroupInit.java

Print this page




  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package sun.rmi.server;
  27 
  28 import java.rmi.activation.ActivationGroupDesc;
  29 import java.rmi.activation.ActivationGroupID;
  30 import java.rmi.activation.ActivationGroup;
  31 
  32 /**
  33  * This is the bootstrap code to start a VM executing an activation
  34  * group.
  35  *
  36  * The activator spawns (as a child process) an activation group as needed
  37  * and directs activation requests to the appropriate activation
  38  * group. After spawning the VM, the activator passes some
  39  * information to the bootstrap code via its stdin: <p>
  40  * <ul>
  41  * <li> the activation group's id,
  42  * <li> the activation group's descriptor (an instance of the class
  43  *    java.rmi.activation.ActivationGroupDesc) for the group, adn
  44  * <li> the group's incarnation number.
  45  * </ul><p>
  46  *
  47  * When the bootstrap VM starts executing, it reads group id and
  48  * descriptor from its stdin so that it can create the activation
  49  * group for the VM.
  50  *
  51  * @author Ann Wollrath
  52  */
  53 public abstract class ActivationGroupInit
  54 {
  55     /**
  56      * Main program to start a VM for an activation group.
  57      */
  58     public static void main(String args[])
  59     {




  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package sun.rmi.server;
  27 
  28 import java.rmi.activation.ActivationGroupDesc;
  29 import java.rmi.activation.ActivationGroupID;
  30 import java.rmi.activation.ActivationGroup;
  31 
  32 /**
  33  * This is the bootstrap code to start a VM executing an activation
  34  * group.
  35  *
  36  * The activator spawns (as a child process) an activation group as needed
  37  * and directs activation requests to the appropriate activation
  38  * group. After spawning the VM, the activator passes some
  39  * information to the bootstrap code via its stdin:
  40  * <ul>
  41  * <li> the activation group's id,
  42  * <li> the activation group's descriptor (an instance of the class
  43  *    java.rmi.activation.ActivationGroupDesc) for the group, adn
  44  * <li> the group's incarnation number.
  45  * </ul><p>
  46  *
  47  * When the bootstrap VM starts executing, it reads group id and
  48  * descriptor from its stdin so that it can create the activation
  49  * group for the VM.
  50  *
  51  * @author Ann Wollrath
  52  */
  53 public abstract class ActivationGroupInit
  54 {
  55     /**
  56      * Main program to start a VM for an activation group.
  57      */
  58     public static void main(String args[])
  59     {


< prev index next >