|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.admin.util.JvmOptionsHelper
public final class JvmOptionsHelper
A helper class to facilitate the add/delete/get jvm options.
| Constructor Summary | |
|---|---|
JvmOptionsHelper(String[] options)
|
|
| Method Summary | |
|---|---|
String[] |
addJvmOptions(String[] options)
Adds the options to its current set. |
String[] |
deleteJvmOptions(String[] options)
Deletes the options from its current set. |
String[] |
getJvmOptions()
Returns the current set of Jvm options. |
String[] |
getJvmOptionsAsStoredInXml()
Returns the current set of Jvm options. |
com.sun.enterprise.admin.util.JvmOptionsElement |
last()
Returns the last JvmOptionsElement in the chain of responsibility. |
static String[] |
toStringArray(Collection c)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JvmOptionsHelper(String[] options)
throws InvalidJvmOptionException
InvalidJvmOptionException| Method Detail |
|---|
public String[] addJvmOptions(String[] options)
throws InvalidJvmOptionException
options -
InvalidJvmOptionException - If any option is invalid. For example,
an option that does not start with '-'.
IllegalArgumentException - If options param is null.public com.sun.enterprise.admin.util.JvmOptionsElement last()
public String[] deleteJvmOptions(String[] options)
options -
IllegalArgumentException - If options param is null.public String[] getJvmOptionsAsStoredInXml()
public String[] getJvmOptions()
public static String[] toStringArray(Collection c)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||