Package | Description |
---|---|
net.jini.config |
Provides a
Configuration interface for obtaining
objects needed to configure applications, such as Exporter or ProxyPreparer
instances, or other application-specific objects, from configuration
files, databases, or other sources. |
net.jini.discovery |
These are utility classes and interfaces that conform to the discovery and join
protocol defined in the Jini Discovery and Join Specification.
|
org.apache.river.config |
Defines convenience classes for writing
configuration files and accessing Configuration entries. |
org.apache.river.thread.wakeup |
Modifier and Type | Class and Description |
---|---|
class |
AbstractConfiguration
A skeletal implementation of the
Configuration interface, used
to simplify writing implementations. |
class |
ConfigurationFile
Supplies objects needed to configure applications, such as
Exporter
or ProxyPreparer instances, or application-specific objects,
constructed from data in a configuration source and override options, as
well as data supplied in the call to getEntry . |
class |
EmptyConfiguration
A
Configuration with no entries. |
Modifier and Type | Method and Description |
---|---|
static Configuration |
ConfigurationProvider.getInstance(String[] options)
Creates and returns an instance of the configuration provider, using the
specified options.
|
static Configuration |
ConfigurationProvider.getInstance(String[] options,
ClassLoader cl)
Creates and returns an instance of the configuration provider, using the
specified options and class loader.
|
Constructor and Description |
---|
LookupDiscovery(String[] groups,
Configuration config)
Constructs a new lookup discovery object, set to discover the
given set of groups, and having the given
Configuration . |
LookupDiscoveryManager(String[] groups,
LookupLocator[] locators,
DiscoveryListener listener,
Configuration config)
Constructs an instance of this class, using the given
Configuration , that will organize and manage all
discovery-related activities on behalf of the client or service
that instantiates this class. |
LookupLocatorDiscovery(LookupLocator[] locators,
Configuration config)
Constructs a new lookup locator discovery object, set to discover the
given set of locators, and having the given
Configuration . |
Modifier and Type | Method and Description |
---|---|
Configuration |
ConfigurationFactory.createConfiguration()
Create a Configuration.
|
Modifier and Type | Method and Description |
---|---|
static float |
Config.getFloatEntry(Configuration config,
String component,
String name,
float defaultValue,
float min,
float max)
Obtains a
float that falls within the given inclusive
range from the specified Configuration using the specified
component and entry names. |
static int |
Config.getIntEntry(Configuration config,
String component,
String name,
int defaultValue,
int min,
int max)
Obtains an
int that falls within the given inclusive
range from the specified Configuration using the specified
component and entry names. |
static long |
Config.getLongEntry(Configuration config,
String component,
String name,
long defaultValue,
long min,
long max)
Obtains a
long that falls within the given inclusive
range from the specified Configuration using the specified
component and entry names. |
static <T> T |
Config.getNonNullEntry(Configuration config,
String component,
String name,
Class<T> type)
Obtains a non-
null object from the specified
Configuration using the specified arguments. |
static <T> T |
Config.getNonNullEntry(Configuration config,
String component,
String name,
Class<T> type,
Object defaultValue)
Obtains a non-
null object from the specified
Configuration using the specified arguments. |
static <T> T |
Config.getNonNullEntry(Configuration config,
String component,
String name,
Class<T> type,
Object defaultValue,
Object data)
Obtains a non-
null object from the specified
Configuration using the specified arguments. |
Constructor and Description |
---|
WakeupManager(WakeupManager.ThreadDesc desc,
Configuration config)
Create a new
WakeupManager . |
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.