The specification for Reggie is defined not only by the Lookup Service section
of the Jini Technology Core Platform Specification, but also by the API
documentation (generated by the Javadoc(TM) tool) for
Administrable.
com.sun.jini.reggie
package
documentation.
ServiceRegistrar,
ServiceRegistration,
Lease, and admin proxies now additionally implement the
ReferentUuid interface, as well as the
RemoteMethodControl interface if the underlying server
remote reference implements RemoteMethodControl.
ServiceRegistrar and admin proxies are now
equals to one another if they
are associated with the same service, regardless of changes to the proxy
class or underlying server remote reference; resource proxies (such as
leases and service registrations) are equals to other
proxies for the same resource.
com.sun.jini.reggie
Configuration component. Configurable aspects include
the exporter that Reggie uses to export its server back end, the proxy
preparers that it uses to prepare received proxies, and the constraints
that it applies during the discovery process. A full list of supported
configuration entries is given in the
com.sun.jini.reggie package documentation.
Logger named com.sun.jini.reggie. A list
of logged events is given in the
com.sun.jini.reggie package documentation.
com.sun.jini.reggie component, and are no
longer supported:
| Property Name (no longer consulted) | Configuration Entry Name |
|---|---|
java.rmi.server.hostname
|
unicastDiscoveryHost
|
net.jini.discovery.announce
|
multicastAnnouncementInterval
|
net.jini.discovery.interface
|
multicastInterfaces
|
Note that the java.rmi.server.hostname system property may
still be used by the RMI implementation used to export Reggie's server
back end.
Also, a new system property,
com.sun.jini.reggie.enableImplToStubReplacement, is now
supported. This system property has been added because JRMP
impl-to-stub replacement no longer occurs by default for service proxies
registered with Reggie. For the compatibility implications of the
removal of JRMP impl-to-stub replacement, see the
Compatibility with v1.2.1 page.
com.sun.jini.reggie.RegistrarAdmin
RegistrarAdmin
interface have been replaced by equivalent configuration entries, and
the RegistrarAdmin interface itself has been removed. Note
that Reggie's admin proxy (returned from the getAdmin
method of Reggie's main proxy) still implements the
DiscoveryAdmin,
JoinAdmin,
and
DestroyAdmin interfaces. A mapping of
RegistrarAdmin methods to corresponding configuration
entries for the com.sun.jini.reggie component is given
below:
RegistrarAdmin Method Name
| Configuration Entry Name |
|---|---|
setLogToSnapshotThreshold
| logToSnapshotThreshold
|
setMinMaxEventLease
| minMaxEventLease
|
setMinMaxServiceLease
| minMaxServiceLease
|
setMinRenewalInterval
| minRenewalInterval
|
setSnapshotWeight
| snapshotWeight
|
Note that the logToSnapshotThreshold and
snapshotWeight configuration entries are only supported
when running Reggie as a persistent service.
register method of its proxy.
This behavior can be re-enabled by setting the
com.sun.jini.reggie.enableImplToStubReplacement system
property to true.