net.jradius.server.config
Class HandlerConfigurationItem
java.lang.Object
net.jradius.server.config.ConfigurationItem
net.jradius.server.config.HandlerConfigurationItem
- Direct Known Subclasses:
- PacketHandlerConfigurationItem
public class HandlerConfigurationItem
- extends ConfigurationItem
Configuration Item for Event Handlers.
- Author:
- Gert Jan Verhoog, David Bird
Methods inherited from class net.jradius.server.config.ConfigurationItem |
getClassName, getDescription, getName, getProperties, getPropertiesFromConfig, getRoot, getXMLConfig, setClassName, setDescription, setName, setProperties, setProperties, toString, xmlKey |
XML_LIST_KEY
public static final String XML_LIST_KEY
- See Also:
- Constant Field Values
XML_KEY
public static final String XML_KEY
- See Also:
- Constant Field Values
TYPE_KEY
public static final String TYPE_KEY
- See Also:
- Constant Field Values
SENDER_KEY
public static final String SENDER_KEY
- See Also:
- Constant Field Values
HANDLER_KEY
public static final String HANDLER_KEY
- See Also:
- Constant Field Values
CATALOG_KEY
public static final String CATALOG_KEY
- See Also:
- Constant Field Values
HandlerConfigurationItem
public HandlerConfigurationItem(String name)
HandlerConfigurationItem
public HandlerConfigurationItem(String name,
String className)
HandlerConfigurationItem
public HandlerConfigurationItem(org.apache.commons.configuration.HierarchicalConfiguration.Node node,
XMLConfiguration config)
getHandleTypes
public List<String> getHandleTypes()
- Returns:
- Returns the handled types
setHandleTypes
public void setHandleTypes(List<String> handleTypes)
- Parameters:
handleTypes
- The handled types to set.
setHandleTypes
public void setHandleTypes(String handleTypes)
- Parameters:
handleTypes
- The handled types to set.
setSenders
public void setSenders(String sender)
- Parameters:
sender
- The requester name(s) allowed for this handler.
getSenders
public List<String> getSenders()
- Returns:
- Returns the list of requesters serviced by this handler
getPossibleTypes
public List getPossibleTypes()
- Returns:
- Returns the possible types to handle.
setPossibleTypes
public void setPossibleTypes(List<String> possibleTypes)
- Parameters:
possibleTypes
- The possible types to set.
handlesType
public boolean handlesType(String type)
handlesSender
public boolean handlesSender(Object sender)
getCatalogName
public String getCatalogName()
- Returns:
- Returns the catalogName.
setCatalogName
public void setCatalogName(String catalogName)
- Parameters:
catalogName
- The catalogName to set.
getHandlerName
public String getHandlerName()
- Returns:
- Returns the handlerName.
setHandlerName
public void setHandlerName(String handlerName)
- Parameters:
handlerName
- The handlerName to set.
setSenders
public void setSenders(List<String> senders)
- Parameters:
senders
- The senders to set.
Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.