org.ehcache.config.xml.model
Class ListenersType

java.lang.Object
  extended by org.ehcache.config.xml.model.ListenersType

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"/>
                   <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="thread-pool" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class ListenersType.Listener
          Java class for anonymous complex type.
 
Field Summary
protected  java.util.List<ListenersType.Listener> listener
           
protected  java.lang.String threadPool
           
 
Constructor Summary
ListenersType()
           
 
Method Summary
 java.util.List<ListenersType.Listener> getListener()
          Gets the value of the listener property.
 java.lang.String getThreadPool()
          Gets the value of the threadPool property.
 void setThreadPool(java.lang.String value)
          Sets the value of the threadPool property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listener

protected java.util.List<ListenersType.Listener> listener

threadPool

protected java.lang.String threadPool
Constructor Detail

ListenersType

public ListenersType()
Method Detail

getListener

public java.util.List<ListenersType.Listener> getListener()
Gets the value of the listener property.

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


getThreadPool

public java.lang.String getThreadPool()
Gets the value of the threadPool property.

Returns:
possible object is String

setThreadPool

public void setThreadPool(java.lang.String value)
Sets the value of the threadPool property.

Parameters:
value - allowed object is String