|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.rmi.activation.ActivationGroupDesc.CommandEnvironment
Startup options for ActivationGroup implementations. This class allows overriding default system properties and specifying implementation-defined options for ActivationGroups.
Constructor Summary | |
ActivationGroupDesc.CommandEnvironment(String cmdpath,
String[] argv)
Create a CommandEnvironment with all the necessary information. |
Method Summary | |
boolean |
equals(Object obj)
Compares two command environments for content equality. |
String[] |
getCommandOptions()
Fetch the configured java command options. |
String |
getCommandPath()
Fetch the configured path-qualified java command name. |
int |
hashCode()
Return identical values for similar CommandEnvironment s. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ActivationGroupDesc.CommandEnvironment(String cmdpath, String[] argv)
cmdpath
- the name of the java executable, including
the full path, or null
, meaning "use rmid's default".
The named program must be able to accept multiple
-Dpropname=value
options (as documented for the
"java" tool)argv
- extra options which will be used in creating the
ActivationGroup. Null has the same effect as an empty
list.Method Detail |
public String getCommandPath()
null
if configured to
accept the defaultpublic String[] getCommandOptions()
null
.public boolean equals(Object obj)
equals
in class Object
obj
- the Object to compare with
Hashtable
public int hashCode()
CommandEnvironment
s.
hashCode
in class Object
Hashtable
|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.