public class RegistrySunExporter extends SunJrmpExporter
Registry
using the well-known
registry object identifier, and preventing remote code downloading for
incoming remote calls. This exporter implementation is only designed to
work with Java(TM) 2 Standard Edition implementations from Sun
Microsystems(TM), Inc.Modifier and Type | Class and Description |
---|---|
(package private) static class |
RegistrySunExporter.BootstrapServerRef
Server-side ref to prevent remote code downloading when unmarshalling
arguments.
|
Constructor and Description |
---|
RegistrySunExporter()
Creates a JRMP exporter that exports on the standard activation port
(1098).
|
RegistrySunExporter(int port)
Creates a JRMP exporter that exports on the specified port.
|
Modifier and Type | Method and Description |
---|---|
(package private) sun.rmi.server.UnicastServerRef |
getServerRef(sun.rmi.transport.LiveRef lref) |
export, unexport
public RegistrySunExporter()
public RegistrySunExporter(int port)
port
- the port (if zero, an anonymous port will be chosen)sun.rmi.server.UnicastServerRef getServerRef(sun.rmi.transport.LiveRef lref)
getServerRef
in class SunJrmpExporter
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.