Class Listener
- java.lang.Object
-
- org.apache.openejb.jee.was.v6.common.DescriptionGroup
-
- org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
-
- org.apache.openejb.jee.was.v6.common.Listener
-
public class Listener extends CompatibilityDescriptionGroup
- Since:
- J2EE1.4 moved from webapp
Declares a class in the application must be registered as a web
application listener bean.
Java class for Listener complex type.
The following schema fragment specifies the expected content contained
within this class.
<complexType name="Listener"> <complexContent> <extension base="{common.xmi}CompatibilityDescriptionGroup"> <choice maxOccurs="unbounded" minOccurs="0"> <element name="listenerClass" type="{java.xmi}JavaClass"/> </choice> <attribute name="listenerClass" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<JavaClass>listenerClassesprotected StringlistenerClassString-
Fields inherited from class org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
description, displayName, largeIcon, smallIcon
-
Fields inherited from class org.apache.openejb.jee.was.v6.common.DescriptionGroup
descriptions, displayNames, extensions, href, icons, id, idref, label, type, uuid, version
-
-
Constructor Summary
Constructors Constructor Description Listener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<JavaClass>getListenerClasses()Gets the value of the listenerClasses property.StringgetListenerClassString()Gets the value of the listenerClassString property.voidsetListenerClassString(String value)Sets the value of the listenerClassString property.-
Methods inherited from class org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
getDescription, getDisplayName, getLargeIcon, getSmallIcon, setDescription, setDisplayName, setLargeIcon, setSmallIcon
-
Methods inherited from class org.apache.openejb.jee.was.v6.common.DescriptionGroup
getDescriptions, getDisplayNames, getExtensions, getHref, getIcons, getId, getIdref, getLabel, getType, getUuid, getVersion, setHref, setId, setIdref, setLabel, setType, setUuid, setVersion
-
-
-
-
Method Detail
-
getListenerClasses
public List<JavaClass> getListenerClasses()
Gets the value of the listenerClasses 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 asetmethod for the listenerClasses property. For example, to add a new item, do as follows:getListenerClasses().add(newItem);
Objects of the following type(s) are allowed in the listJavaClass
-
getListenerClassString
public String getListenerClassString()
Gets the value of the listenerClassString property.- Returns:
- possible object is
String
-
-