|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jradius.server.config.Configuration
public class Configuration
Reads JRadius configuration options and provides methods to access them
Constructor Summary | |
---|---|
Configuration()
|
Method Summary | |
---|---|
static DictionaryConfigurationItem |
dictionaryConfigurationForName(String name)
|
static HandlerConfigurationItem |
eventHandlerConfigurationForName(String name)
|
static JRCommand |
eventHandlerForName(String name)
|
static Object |
getBean(String name)
|
static org.apache.commons.chain.Command |
getCommand(String commandID)
|
static String |
getConfigFileDir()
|
static Collection |
getDictionaryConfigs()
A collection of DictionaryConfigurationItems, corresponding to the <load-dictionaries> elements in the configuration file. |
static Collection |
getEventHandlers()
A collection of HandlerConfigurationItems, corresponding to the <event-handler> elements in the configuration file. |
static Collection<ListenerConfigurationItem> |
getListenerConfigs()
A collection of ListenerConfigurationItems, corresponding to the <listener> elements in the configuration file. |
static Collection |
getPacketHandlers()
A collection of PacketHandlerConfigurationItems, corresponding to the <packet-handler> elements in the configuration file. |
static int |
getTimeoutSeconds()
The number of seconds to wait for packets, corresponding to the <timeout> option in the configuration file. |
static void |
initialize(File file)
|
static void |
initialize(InputStream input,
org.springframework.beans.factory.BeanFactory factory)
|
static boolean |
isDebug()
Corresponds to the <debug>true/false</debug> configuration option. |
static ListenerConfigurationItem |
listenerConfigurationForName(String name)
|
static PacketHandlerConfigurationItem |
packetHandlerConfigurationForName(String name)
|
static JRCommand |
packetHandlerForName(String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Configuration()
Method Detail |
---|
public static void initialize(File file) throws FileNotFoundException, org.apache.commons.configuration.ConfigurationException
FileNotFoundException
org.apache.commons.configuration.ConfigurationException
public static void initialize(InputStream input, org.springframework.beans.factory.BeanFactory factory) throws FileNotFoundException, org.apache.commons.configuration.ConfigurationException
FileNotFoundException
org.apache.commons.configuration.ConfigurationException
public static boolean isDebug()
public static String getConfigFileDir()
public static Collection getPacketHandlers()
public static Collection getEventHandlers()
public static PacketHandlerConfigurationItem packetHandlerConfigurationForName(String name)
public static HandlerConfigurationItem eventHandlerConfigurationForName(String name)
public static JRCommand packetHandlerForName(String name)
public static JRCommand eventHandlerForName(String name)
public static org.apache.commons.chain.Command getCommand(String commandID) throws IllegalArgumentException
IllegalArgumentException
public static Collection<ListenerConfigurationItem> getListenerConfigs()
public static ListenerConfigurationItem listenerConfigurationForName(String name)
public static Collection getDictionaryConfigs()
public static DictionaryConfigurationItem dictionaryConfigurationForName(String name)
public static int getTimeoutSeconds()
public static Object getBean(String name) throws IllegalAccessException, ClassNotFoundException, InstantiationException
IllegalAccessException
ClassNotFoundException
InstantiationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |