|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
setJVMOptions( new String[] { COLLECTION_OP_REPLACE, "-client", "-Xmx" } // replaces all with these
setJVMOptions( new String[] { "-client", "-Xmx" } // adds these
setJVMOptions( new String[] { COLLECTION_OP_REMOVE, "-client", "-Xmx" } // removes these
@Deprecated public interface AnonymousElementList
| Field Summary | |
|---|---|
static String |
OP_ADD
Deprecated. indicates that the values are to be added to the existing ones |
static String |
OP_REMOVE
Deprecated. indicates that the values are to be remove from the existing ones |
static String |
OP_REPLACE
Deprecated. indicates that all values are to be replaced with the specified ones |
| Method Summary | |
|---|---|
String[] |
getAnonymousElementList(String elementName)
Deprecated. Return all values of the element list specified by the element name, which must be an anonymous non-singleton simple element eg: |
String[] |
modifyAnonymousElementList(String elementName,
String cmd,
String[] args)
Deprecated. Modify the collection as specified. |
| Field Detail |
|---|
static final String OP_ADD
static final String OP_REMOVE
static final String OP_REPLACE
| Method Detail |
|---|
String[] getAnonymousElementList(String elementName)
<jvm-options>--client</jvm-options> <jvm-options>-Dfoo=bar</jvm-options> <some-elem>-Dfoo=bar</some-elem> <some-elem>-Dfoo=bar</some-elem> ...For example getCollection( "JVMOptions" ) for certain AMXConfig that have <jvm-options> elements. This is the generic operation; an AMXConfig can choose to implement an Attribute as well eg getJVMOptions(). Either the AMX Attribute name (if present) may be used, or the XML element name may be used. It is suggested that all such element names have a String[] getter so they can at least be treated as read-only Attributes.
String[] modifyAnonymousElementList(String elementName,
String cmd,
String[] args)
elementName - the name of the collection eg "JVMOptions"cmd - the operation to performargs - values used by the command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||