|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jas.jds.RMIProtocol
A class for encapsulating the RMI protocol handling in the Java Data Server
Constructor Summary | |
RMIProtocol()
|
Method Summary | |
static void |
main(java.lang.String[] argv)
The following parameters can be passed to the main method: |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RMIProtocol()
Method Detail |
public static void main(java.lang.String[] argv) throws NestedException
createRegistry yes:no:ifneeded default:ifneeded porteach of these parameters may also be set from the SystemProperties, by prefixing the parameter with jas.jds.rmi, e.g.:default:auto default:default service default:JDSServer rebind yes:no default:yes node default:localhost AccessManager :null default:null
java -Djas.jds.rmi.rebind=yes ...The parameters have the following meaning:
port The port to use for the RMIRegistry (defauly 1099) If auto is specified, then a registry will be created on a randomly assigned unused port. service The service name to bind into the RMIRegistry createRegistry yes: Always attempt to create a registry (will fail if registry already exists on specified port) no: Will fail if registry does not already exists on specified port ifneeded: Will create registry as neeeded. rebind yes: Will replace existing service name if it already exists in registry no: Will throw an exception if the service name is already bound node Connect to a registry on a remote node. This will not work with the standard sun implementation of RMIRegistry.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |