Package org.eclipse.jetty.webapp
Class Configuration.ClassList
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<String>
,Collection<String>
,List<String>
,RandomAccess
,SequencedCollection<String>
- Enclosing interface:
Configuration
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
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.Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll, reversed
-
Constructor Details
-
ClassList
public ClassList() -
ClassList
-
ClassList
-
-
Method Details
-
setServerDefault
Get/Set/Create the server default Configuration ClassList.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
- Parameters:
server
- The server the default is for- Returns:
- the server default ClassList instance of the configuration classes for this server. Changes to this list will change the server default instance.
-
serverDefault
Get/Create the server default Configuration ClassList.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.
- Parameters:
server
- The server the default is for- Returns:
- A copy of the server default ClassList instance of the configuration classes for this server. Changes to the returned list will not change the server default.
-
addAfter
-
addBefore
-
replace
-