public static class ActivationGroupDesc.CommandEnvironment extends Object implements Serializable
Constructor | Description |
---|---|
CommandEnvironment (String cmdpath,
String[] argv) |
Create a CommandEnvironment with all the necessary
information.
|
Modifier and Type | Method | Description |
---|---|---|
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. |
public 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.public String getCommandPath()
null
if configured to
accept the defaultpublic String[] getCommandOptions()
null
.public boolean equals(Object obj)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.