public class ListenersType
extends java.lang.Object
Java class for listeners-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="listeners-type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="listener" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="class" type="{http://www.ehcache.org/v3}fqcn-type"/>
<element name="event-firing-mode" type="{http://www.ehcache.org/v3}event-firing-type"/>
<element name="event-ordering-mode" type="{http://www.ehcache.org/v3}event-ordering-type"/>
<element name="events-to-fire-on" type="{http://www.ehcache.org/v3}event-type" maxOccurs="5"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="dispatcher-thread-pool" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
ListenersType.Listener
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
dispatcherThreadPool |
protected java.util.List<ListenersType.Listener> |
listener |
| Constructor and Description |
|---|
ListenersType() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDispatcherThreadPool()
Gets the value of the dispatcherThreadPool property.
|
java.util.List<ListenersType.Listener> |
getListener()
Gets the value of the listener property.
|
void |
setDispatcherThreadPool(java.lang.String value)
Sets the value of the dispatcherThreadPool property.
|
ListenersType |
withDispatcherThreadPool(java.lang.String value) |
ListenersType |
withListener(java.util.Collection<ListenersType.Listener> values) |
ListenersType |
withListener(ListenersType.Listener... values) |
protected java.util.List<ListenersType.Listener> listener
protected java.lang.String dispatcherThreadPool
public java.util.List<ListenersType.Listener> getListener()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the listener property.
For example, to add a new item, do as follows:
getListener().add(newItem);
Objects of the following type(s) are allowed in the list
ListenersType.Listener
public java.lang.String getDispatcherThreadPool()
Stringpublic void setDispatcherThreadPool(java.lang.String value)
value - allowed object is
Stringpublic ListenersType withListener(ListenersType.Listener... values)
public ListenersType withListener(java.util.Collection<ListenersType.Listener> values)
public ListenersType withDispatcherThreadPool(java.lang.String value)