public class NafManRegistry extends Object
Modifier and Type | Class and Description |
---|---|
static class |
NafManRegistry.DefCommand |
static class |
NafManRegistry.DefResource |
Modifier and Type | Field and Description |
---|---|
static String |
CMD_APPSTOP |
static String |
CMD_DLIST |
static String |
CMD_DNSDUMP |
static String |
CMD_DNSLOADROOTS |
static String |
CMD_DNSPRUNE |
static String |
CMD_DNSQUERY |
static String |
CMD_DSHOW |
static String |
CMD_FLUSH |
static String |
CMD_KILLCONN |
static String |
CMD_LOGLVL |
static String |
CMD_SHOWCMDS |
static String |
CMD_STOP |
static String |
RSRC_CMDSTATUS |
static String |
RSRC_PLAINTEXT |
Modifier and Type | Method and Description |
---|---|
static NafManRegistry |
get(ApplicationContextNAF appctx) |
String |
getHomePage() |
List<NafManRegistry.DefCommand> |
getMatchingCommands(String stem) |
boolean |
isCommandRegistered(String code) |
void |
loadCommands(NafManRegistry.DefCommand[] defs) |
void |
loadResources(NafManRegistry.DefResource[] defs) |
boolean |
registerDynamicCommand(String cmdcode,
NafManCommand.Handler handler,
Dispatcher dsptch,
String family,
String autopub,
boolean rdonly,
String descr) |
boolean |
registerHandler(String cmdcode,
int pref,
NafManCommand.Handler handler,
Dispatcher dsptch) |
void |
setHomePage(String rsrc_name) |
public static final String CMD_STOP
public static final String CMD_APPSTOP
public static final String CMD_DLIST
public static final String CMD_DSHOW
public static final String CMD_SHOWCMDS
public static final String CMD_KILLCONN
public static final String CMD_DNSDUMP
public static final String CMD_DNSPRUNE
public static final String CMD_DNSQUERY
public static final String CMD_DNSLOADROOTS
public static final String CMD_FLUSH
public static final String CMD_LOGLVL
public static final String RSRC_PLAINTEXT
public static final String RSRC_CMDSTATUS
public String getHomePage()
public boolean isCommandRegistered(String code)
public static NafManRegistry get(ApplicationContextNAF appctx)
public void setHomePage(String rsrc_name)
public void loadCommands(NafManRegistry.DefCommand[] defs)
public void loadResources(NafManRegistry.DefResource[] defs)
public boolean registerDynamicCommand(String cmdcode, NafManCommand.Handler handler, Dispatcher dsptch, String family, String autopub, boolean rdonly, String descr)
public boolean registerHandler(String cmdcode, int pref, NafManCommand.Handler handler, Dispatcher dsptch)
public List<NafManRegistry.DefCommand> getMatchingCommands(String stem)
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.