org.eclipse.jst.j2ee.common
Interface Listener

All Superinterfaces:
CompatibilityDescriptionGroup, DescriptionGroup, org.eclipse.emf.ecore.EObject, J2EEEObject, org.eclipse.emf.common.notify.Notifier

public interface Listener
extends CompatibilityDescriptionGroup

Declares a class in the application must be registered as a web application listener bean.

Since:
1.0

Method Summary
 JavaClass getListenerClass()
           
 java.lang.String getListenerClassName()
          Get the fully qualified class name for the listener.
 void setListenerClass(JavaClass value)
           
 void setListenerClassName(java.lang.String listenerClassName)
          Sets the listener class name.
 
Methods inherited from interface org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup
getDescription, getDisplayName, getLargeIcon, getSmallIcon, setDescription, setDescriptionGen, setDisplayName, setDisplayNameGen, setLargeIcon, setLargeIconGen, setSmallIcon, setSmallIconGen
 
Methods inherited from interface org.eclipse.jst.j2ee.common.DescriptionGroup
getDescriptions, getDisplayNames, getIcons
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getListenerClass

JavaClass getListenerClass()
Returns:
The ListenerClass reference The listener-class element declares a class in the application must be registered as a web application listener bean.

getListenerClassName

java.lang.String getListenerClassName()
Get the fully qualified class name for the listener.


setListenerClassName

void setListenerClassName(java.lang.String listenerClassName)
Sets the listener class name.


setListenerClass

void setListenerClass(JavaClass value)
Parameters:
l - The new value of the ListenerClass reference