|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.jnrpe.server.JNRPEConfiguration
public abstract class JNRPEConfiguration
Base class for all the JNRPE configuration classes (INI, XML, etc.).
Constructor Summary | |
---|---|
JNRPEConfiguration()
|
Method Summary | |
---|---|
CommandRepository |
createCommandRepository()
Returns a command repository containing all the commands configured inside the configuration file. |
it.jnrpe.server.CommandsSection |
getCommandSection()
Returns the command section of the configuration file. |
ServerSection |
getServerSection()
Returns the server section of the configuration file. |
abstract void |
load(File f)
All the concrete configuration classes must load the configuration file inside this method. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JNRPEConfiguration()
Method Detail |
---|
public abstract void load(File f) throws ConfigurationException
f
- The configuration file
ConfigurationException
- on any configuration error.public final it.jnrpe.server.CommandsSection getCommandSection()
public final ServerSection getServerSection()
public final CommandRepository createCommandRepository()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |