public static class Configuration.ClassList extends ArrayList<String>
modCount
Constructor and Description |
---|
Configuration.ClassList() |
Configuration.ClassList(List<String> classes) |
Configuration.ClassList(String[] classes) |
Modifier and Type | Method and Description |
---|---|
void |
addAfter(String afterClass,
String... configClass) |
void |
addBefore(String beforeClass,
String... configClass) |
static Configuration.ClassList |
serverDefault(Server server)
Get/Create the server default Configuration ClassList.
|
static Configuration.ClassList |
setServerDefault(Server server)
Get/Set/Create the server default Configuration ClassList.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
public Configuration.ClassList()
public Configuration.ClassList(String[] classes)
public static Configuration.ClassList setServerDefault(Server server)
Get the class list from: a Server bean; or the attribute (which can either be a ClassList instance or an String[] of class names); or a new instance with default configuration classes.
This method also adds the obtained ClassList instance as a dependent bean on the server and clears the attribute
server
- The server the default is forpublic static Configuration.ClassList serverDefault(Server server)
Get the class list from: a Server bean; or the attribute (which can either be a ClassList instance or an String[] of class names); or a new instance with default configuration classes.
server
- The server the default is forpublic void addAfter(@Name(value="afterClass") String afterClass, @Name(value="configClass") String... configClass)
Copyright © 1995-2015 Webtide. All Rights Reserved.