net.jradius.server.config
Class ListenerConfigurationItem

java.lang.Object
  extended by net.jradius.server.config.ConfigurationItem
      extended by net.jradius.server.config.ListenerConfigurationItem

public class ListenerConfigurationItem
extends ConfigurationItem

The configuration context of a JRadius Listener

Author:
Gert Jan Verhoog, David Bird

Field Summary
static String XML_KEY
           
static String XML_LIST_KEY
           
 
Fields inherited from class net.jradius.server.config.ConfigurationItem
className, description, hcfg, name, properties, root
 
Constructor Summary
ListenerConfigurationItem(org.apache.commons.configuration.HierarchicalConfiguration.Node node, XMLConfiguration config)
          Creates a Listener Configuration Context
 
Method Summary
 List<JRCommand> getEventHandlers()
           
 int getNumberOfThreads()
           
 String getProcessorClassName()
           
 List<JRCommand> getRequestHandlers()
           
 String xmlKey()
           
 
Methods inherited from class net.jradius.server.config.ConfigurationItem
getClassName, getDescription, getName, getProperties, getPropertiesFromConfig, getRoot, getXMLConfig, setClassName, setDescription, setName, setProperties, setProperties, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XML_LIST_KEY

public static String XML_LIST_KEY

XML_KEY

public static String XML_KEY
Constructor Detail

ListenerConfigurationItem

public ListenerConfigurationItem(org.apache.commons.configuration.HierarchicalConfiguration.Node node,
                                 XMLConfiguration config)
Creates a Listener Configuration Context

Parameters:
node - The node within the XML configuration where <listner ...> us found
config - The XML configuration context
Method Detail

getRequestHandlers

public List<JRCommand> getRequestHandlers()
Returns:
Returns the active handlers for this Listener Configuration

getEventHandlers

public List<JRCommand> getEventHandlers()
Returns:
Returns the eventHandlers.

getNumberOfThreads

public int getNumberOfThreads()
Returns:
Returns the configured number of threads

getProcessorClassName

public String getProcessorClassName()
Returns:
Returns the configured class name

xmlKey

public String xmlKey()
Overrides:
xmlKey in class ConfigurationItem


Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.