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