|
JavaTM 2 Platform Standard Ed. 5.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
public static class 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)
obj
- the Object to compare with
Hashtable
public int hashCode()
CommandEnvironment
s.
Hashtable
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.