|
Préférences
Moteurs de recherche
|
||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
java.rmi.activation
|
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)
obj
- the Object to compare with
Hashtable
public int hashCode()
CommandEnvironment
s.
Hashtable