< prev index next >

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

Print this page


   1 /*
   2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  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


  90  * manager you would like to install.
  91  *
  92  * @author      Ann Wollrath
  93  * @see         ActivationInstantiator
  94  * @see         ActivationGroupDesc
  95  * @see         ActivationGroupID
  96  * @since       1.2
  97  */
  98 public abstract class ActivationGroup
  99         extends UnicastRemoteObject
 100         implements ActivationInstantiator
 101 {
 102     /**
 103      * @serial the group's identifier
 104      */
 105     private ActivationGroupID groupID;
 106 
 107     /**
 108      * @serial the group's monitor
 109      */

 110     private ActivationMonitor monitor;
 111 
 112     /**
 113      * @serial the group's incarnation number
 114      */
 115     private long incarnation;
 116 
 117     /** the current activation group for this VM */
 118     private static ActivationGroup currGroup;
 119     /** the current group's identifier */
 120     private static ActivationGroupID currGroupID;
 121     /** the current group's activation system */
 122     private static ActivationSystem currSystem;
 123     /** used to control a group being created only once */
 124     private static boolean canCreate = true;
 125 
 126     /** indicate compatibility with the Java 2 SDK v1.2 version of class */
 127     private static final long serialVersionUID = -7696947875314805420L;
 128 
 129     /**


   1 /*
   2  * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  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


  90  * manager you would like to install.
  91  *
  92  * @author      Ann Wollrath
  93  * @see         ActivationInstantiator
  94  * @see         ActivationGroupDesc
  95  * @see         ActivationGroupID
  96  * @since       1.2
  97  */
  98 public abstract class ActivationGroup
  99         extends UnicastRemoteObject
 100         implements ActivationInstantiator
 101 {
 102     /**
 103      * @serial the group's identifier
 104      */
 105     private ActivationGroupID groupID;
 106 
 107     /**
 108      * @serial the group's monitor
 109      */
 110     @SuppressWarnings("serial") // Not statically typed as Serializable
 111     private ActivationMonitor monitor;
 112 
 113     /**
 114      * @serial the group's incarnation number
 115      */
 116     private long incarnation;
 117 
 118     /** the current activation group for this VM */
 119     private static ActivationGroup currGroup;
 120     /** the current group's identifier */
 121     private static ActivationGroupID currGroupID;
 122     /** the current group's activation system */
 123     private static ActivationSystem currSystem;
 124     /** used to control a group being created only once */
 125     private static boolean canCreate = true;
 126 
 127     /** indicate compatibility with the Java 2 SDK v1.2 version of class */
 128     private static final long serialVersionUID = -7696947875314805420L;
 129 
 130     /**


< prev index next >