public class MessageRouterConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DISCO_NAME_PROP_KEY
Field description
|
static String |
DISCO_NAME_PROP_VAL
Field description
|
static String |
DISCO_SHOW_VERSION_PROP_KEY
Field description
|
static boolean |
DISCO_SHOW_VERSION_PROP_VAL
Field description
|
static String |
LOCAL_ADDRESSES_PROP_KEY
Field description
|
static String |
MSG_RECEIVERS_NAMES_PROP_KEY
Field description
|
static String |
MSG_RECEIVERS_PROP_KEY
Field description
|
static String |
REGISTRATOR_NAMES_PROP_KEY
Field description
|
static String |
REGISTRATOR_PROP_KEY
Field description
|
static String |
UPDATES_CHECKING_INTERVAL_PROP_KEY
Field description
|
static long |
UPDATES_CHECKING_INTERVAL_PROP_VAL
Field description
|
static String |
UPDATES_CHECKING_PROP_KEY
Field description
|
static Boolean |
UPDATES_CHECKING_PROP_VAL
Field description
|
Constructor and Description |
---|
MessageRouterConfig(Map<String,Object> props)
Constructs ...
|
Modifier and Type | Method and Description |
---|---|
boolean |
componentClassEquals(String cls_name,
Class<? extends ServerComponent> currCls)
Method description
|
static void |
getDefaults(Map<String,Object> defs,
Map<String,Object> params,
String comp_name)
Method description
|
String[] |
getMsgRcvActiveNames()
Method description
|
String[] |
getMsgRcvInactiveNames()
Method description
|
ServerComponent |
getMsgRcvInstance(String name)
Method description
|
ComponentRegistrator |
getRegistrInstance(String name)
Method description
|
String[] |
getRegistrNames()
Method description
|
public static final String DISCO_NAME_PROP_KEY
public static final String DISCO_SHOW_VERSION_PROP_KEY
public static final String LOCAL_ADDRESSES_PROP_KEY
public static final String MSG_RECEIVERS_PROP_KEY
public static final String REGISTRATOR_PROP_KEY
public static final String UPDATES_CHECKING_INTERVAL_PROP_KEY
public static final long UPDATES_CHECKING_INTERVAL_PROP_VAL
public static final String UPDATES_CHECKING_PROP_KEY
public static final String MSG_RECEIVERS_NAMES_PROP_KEY
public static final Boolean UPDATES_CHECKING_PROP_VAL
public static final String REGISTRATOR_NAMES_PROP_KEY
public static final boolean DISCO_SHOW_VERSION_PROP_VAL
public static final String DISCO_NAME_PROP_VAL
public boolean componentClassEquals(String cls_name, Class<? extends ServerComponent> currCls)
cls_name
- currCls
- boolean
public static void getDefaults(Map<String,Object> defs, Map<String,Object> params, String comp_name)
defs
- params
- comp_name
- public String[] getMsgRcvActiveNames()
String[]
public String[] getMsgRcvInactiveNames()
String[]
public ServerComponent getMsgRcvInstance(String name) throws ClassNotFoundException, InstantiationException, IllegalAccessException
name
- ServerComponent
ClassNotFoundException
IllegalAccessException
InstantiationException
public ComponentRegistrator getRegistrInstance(String name) throws ClassNotFoundException, InstantiationException, IllegalAccessException
name
- ComponentRegistrator
ClassNotFoundException
IllegalAccessException
InstantiationException
public String[] getRegistrNames()
String[]
Copyright © 2018 "Tigase, Inc.". All rights reserved.