Movatterモバイル変換


[0]ホーム

URL:


CONTENTS |PREV |NEXTJava Remote Method Invocation


B.1 ServerProperties

The following tablecontains a list of properties typically used by servers forconfiguration. Note that properties are typically restricted frombeing set from applets.
Property
Description

java.rmi.server.codebase

Indicates the codebase URL of classes originating from the JVM.The codebase property is used to annotate class descriptors ofclassesoriginating from a JVM so that the class for anobject sent as a parameter or return value in a remote method callcan be loaded at the receiver.

java.rmi.server.disableHttp

If set totrue, disables the use of HTTP for RMIcalls. This means that RMI will never resort to using HTTP toinvoke a call via a firewall. Defaults tofalse (HTTPusage is enabled).

java.rmi.server.hostname

RMI uses IP addresses to indicate the location of a server(embedded in a remote reference). If the use of a hostname isdesired, this property is used to specify the fully-qualifiedhostname for RMI to use for remote objects exported to the localJVM. The property can also be set to an IP address. Not set bydefault.

java.rmi.dgc.leaseValue

Sets the lease duration that the RMI runtime grants to clientsreferencing remote objects in the JVM. Defaults to 10 minutes.

java.rmi.server.logCalls

If set totrue, server call logging is turned onand prints to stderr. Defaults tofalse.

java.rmi.server.useCodebaseOnly

If set totrue, when RMI loads classes (if notavailable viaCLASSPATH) they are only loaded usingthe URL specified by the propertyjava.rmi.server.codebase.

java.rmi.server.useLocalHostname

If thejava.rmi.server.hostname property is not setand this property is set, then RMI will not use an IP address todenote the location (embedded in remote references) of remoteobjects that are exported into the JVM. Instead, RMI will use thevalue of the call to the methodjava.net.InetAddress.getLocalHost.



CONTENTS |PREV |NEXT

[8]ページ先頭

©2009-2025 Movatter.jp