|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jsefa.common.config.InitialConfiguration
public final class InitialConfiguration
The single initial configuration for JSefa. See sub interfaces of InitialConfigurationParameters for the
available parameters.
Configuration| Method Summary | ||
|---|---|---|
static
|
get(String parameter,
Object defaultValue)
Returns the value of the given parameter. |
|
static
|
get(String parameter,
OnDemandObjectProvider defaultValueProvider)
Returns the value of the given parameter. |
|
static void |
set(String parameter,
Object value)
Sets the parameter value of the given parameter to the given value if the parameter is not already bound to another value. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> T get(String parameter,
OnDemandObjectProvider defaultValueProvider)
defaultValue retrieved from the OnDemandObjectProvider is registered and
returned.
T - the expected type of the parameter valueparameter - the parameterdefaultValueProvider - the provider of the default value to use if none is configured for the parameter
in question.
public static <T> T get(String parameter,
Object defaultValue)
defaultValue is registered and returned.
T - the expected type of the parameter valueparameter - the parameterdefaultValue - the default value to use if none is configured for the parameter in question.
public static void set(String parameter,
Object value)
InitialConfigurationException will be thrown.
parameter - the parametervalue - the value
InitialConfigurationException - if the parameter is already bound to another value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||