org.apache.openejb.jee.was.v6.common
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>
| Fields inherited from class org.apache.openejb.jee.was.v6.common.DescriptionGroup |
descriptions, displayNames, extensions, href, icons, id, idref, label, type, uuid, version |
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listenerClasses
protected List<JavaClass> listenerClasses
listenerClassString
protected String listenerClassString
Listener
public Listener()
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 a
set method 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 list
JavaClass
getListenerClassString
public String getListenerClassString()
- Gets the value of the listenerClassString property.
- Returns:
- possible object is
String
setListenerClassString
public void setListenerClassString(String value)
- Sets the value of the listenerClassString property.
- Parameters:
value - allowed object is String
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.