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

Print this page




  48 /**
  49  * NOTE: There is a JDK-internal dependency on the existence of this
  50  * class's getLiveRef method (as it is inherited by UnicastRef2) in
  51  * the implementation of javax.management.remote.rmi.RMIConnector.
  52  **/
  53 public class UnicastRef implements RemoteRef {
  54 
  55     /**
  56      * Client-side transport log.
  57      */
  58     public static final Log clientRefLog =
  59         Log.getLog("sun.rmi.client.ref", "transport",  Util.logLevel);
  60 
  61     /**
  62      * Client-side call log.
  63      */
  64     public static final Log clientCallLog =
  65         Log.getLog("sun.rmi.client.call", "RMI",
  66                    AccessController.doPrivileged(
  67                        new GetBooleanAction("sun.rmi.client.logCalls")));

  68 
  69     protected LiveRef ref;
  70 
  71     /**
  72      * Create a new (empty) Unicast remote reference.
  73      */
  74     public UnicastRef() {
  75     }
  76 
  77     /**
  78      * Create a new Unicast RemoteRef.
  79      */
  80     public UnicastRef(LiveRef liveRef) {
  81         ref = liveRef;
  82     }
  83 
  84     /**
  85      * Returns the current value of this UnicastRef's underlying
  86      * LiveRef.
  87      *




  48 /**
  49  * NOTE: There is a JDK-internal dependency on the existence of this
  50  * class's getLiveRef method (as it is inherited by UnicastRef2) in
  51  * the implementation of javax.management.remote.rmi.RMIConnector.
  52  **/
  53 public class UnicastRef implements RemoteRef {
  54 
  55     /**
  56      * Client-side transport log.
  57      */
  58     public static final Log clientRefLog =
  59         Log.getLog("sun.rmi.client.ref", "transport",  Util.logLevel);
  60 
  61     /**
  62      * Client-side call log.
  63      */
  64     public static final Log clientCallLog =
  65         Log.getLog("sun.rmi.client.call", "RMI",
  66                    AccessController.doPrivileged(
  67                        new GetBooleanAction("sun.rmi.client.logCalls")));
  68     private static final long serialVersionUID = 8258372400816541186L;
  69 
  70     protected LiveRef ref;
  71 
  72     /**
  73      * Create a new (empty) Unicast remote reference.
  74      */
  75     public UnicastRef() {
  76     }
  77 
  78     /**
  79      * Create a new Unicast RemoteRef.
  80      */
  81     public UnicastRef(LiveRef liveRef) {
  82         ref = liveRef;
  83     }
  84 
  85     /**
  86      * Returns the current value of this UnicastRef's underlying
  87      * LiveRef.
  88      *