|
||||||||||
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.
Field Summary | |
private String |
command
|
private String[] |
options
|
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 |
Field Detail |
private String command
private String[] options
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |