com.sun.jini.phoenix
Class RegistrySunExporter.BootstrapServerRef

java.lang.Object
  extended by sun.rmi.server.UnicastRef
      extended by sun.rmi.server.UnicastServerRef
          extended by com.sun.jini.phoenix.RegistrySunExporter.BootstrapServerRef
All Implemented Interfaces:
Externalizable, Serializable, RemoteRef, ServerRef, sun.rmi.server.Dispatcher
Enclosing class:
RegistrySunExporter

static class RegistrySunExporter.BootstrapServerRef
extends sun.rmi.server.UnicastServerRef

Server-side ref to prevent remote code downloading when unmarshalling arguments.


Field Summary
private static long serialVersionUID
           
private static Method useCodebaseOnly
           
 
Fields inherited from class sun.rmi.server.UnicastServerRef
callLog, logCalls
 
Fields inherited from class sun.rmi.server.UnicastRef
clientCallLog, clientRefLog, ref
 
Fields inherited from interface java.rmi.server.RemoteRef
packagePrefix
 
Constructor Summary
RegistrySunExporter.BootstrapServerRef(sun.rmi.transport.LiveRef lref)
          Construct an instance with the given live ref.
 
Method Summary
 void dispatch(Remote obj, RemoteCall call)
          Deprecated. no replacement
 
Methods inherited from class sun.rmi.server.UnicastServerRef
clearStackTraces, exportObject, exportObject, getClientHost, getClientRef, getRefClass, oldDispatch, readExternal, setSkeleton, unmarshalCustomCallData, writeExternal
 
Methods inherited from class sun.rmi.server.UnicastRef
done, getLiveRef, invoke, invoke, marshalCustomCallData, marshalValue, newCall, remoteEquals, remoteHashCode, remoteToString, unmarshalValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.rmi.server.RemoteRef
done, invoke, invoke, newCall, remoteEquals, remoteHashCode, remoteToString
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

useCodebaseOnly

private static Method useCodebaseOnly
Constructor Detail

RegistrySunExporter.BootstrapServerRef

public RegistrySunExporter.BootstrapServerRef(sun.rmi.transport.LiveRef lref)
Construct an instance with the given live ref.

Method Detail

dispatch

@Deprecated
public void dispatch(Remote obj,
                                RemoteCall call)
              throws IOException
Deprecated. no replacement

Disable remote code downloading on the input stream and then continue normal dispatching. From the RemoteCall javadoc: RemoteCall is an abstraction used solely by the RMI runtime (in conjunction with stubs and skeletons of remote objects) to carry out a call to a remote object. The RemoteCall interface is deprecated because it is only used by deprecated methods of java.rmi.server.RemoteRef. This method is an overridden method from UnicastServerRef which is a sun internal implementation class.

Specified by:
dispatch in interface sun.rmi.server.Dispatcher
Overrides:
dispatch in class sun.rmi.server.UnicastServerRef
Throws:
IOException
See Also:
RemoteCall


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.