com.caucho.server.webapp
Class ListenerConfig<T>

java.lang.Object
  extended by com.caucho.config.types.DescriptionGroupConfig
      extended by com.caucho.server.webapp.ListenerConfig<T>

@Configurable
public class ListenerConfig<T>
extends DescriptionGroupConfig

Configuration for the listener


Nested Class Summary
 
Nested classes/interfaces inherited from class com.caucho.config.types.DescriptionGroupConfig
DescriptionGroupConfig.Icon
 
Constructor Summary
ListenerConfig()
           
 
Method Summary
 java.lang.Object createListenerObject()
          Initialize.
 void destroy()
           
 ContainerProgram getInit()
          Gets the init block
 java.lang.Class<?> getListenerClass()
          Gets the listener class.
 void setInit(ContainerProgram init)
          Sets the init block
 void setListenerClass(java.lang.Class<T> cl)
          Sets the listener class.
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.config.types.DescriptionGroupConfig
createIcon, getDisplayName, setDescription, setDisplayName, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListenerConfig

public ListenerConfig()
Method Detail

setListenerClass

public void setListenerClass(java.lang.Class<T> cl)
                      throws ConfigException
Sets the listener class.

Throws:
ConfigException

getListenerClass

public java.lang.Class<?> getListenerClass()
Gets the listener class.


setInit

public void setInit(ContainerProgram init)
Sets the init block


getInit

public ContainerProgram getInit()
Gets the init block


createListenerObject

public java.lang.Object createListenerObject()
                                      throws java.lang.Exception
Initialize.

Throws:
java.lang.Exception

destroy

public void destroy()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object