com.sun.jini.phoenix
Class RegistrySunExporter

java.lang.Object
  extended by com.sun.jini.phoenix.SunJrmpExporter
      extended by com.sun.jini.phoenix.RegistrySunExporter
All Implemented Interfaces:
Exporter

public class RegistrySunExporter
extends SunJrmpExporter

JRMP exporter to export a 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.

Since:
2.0
Author:
Sun Microsystems, Inc.

Nested Class Summary
(package private) static class RegistrySunExporter.BootstrapServerRef
          Server-side ref to prevent remote code downloading when unmarshalling arguments.
 
Constructor Summary
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.
 
Method Summary
(package private)  sun.rmi.server.UnicastServerRef getServerRef(sun.rmi.transport.LiveRef lref)
           
 
Methods inherited from class com.sun.jini.phoenix.SunJrmpExporter
export, unexport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistrySunExporter

public RegistrySunExporter()
Creates a JRMP exporter that exports on the standard activation port (1098).


RegistrySunExporter

public RegistrySunExporter(int port)
Creates a JRMP exporter that exports on the specified port.

Parameters:
port - the port (if zero, an anonymous port will be chosen)
Method Detail

getServerRef

sun.rmi.server.UnicastServerRef getServerRef(sun.rmi.transport.LiveRef lref)
Overrides:
getServerRef in class SunJrmpExporter


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