|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ConfigurationException | |
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. |
Uses of ConfigurationException in net.jini.config |
Subclasses of ConfigurationException in net.jini.config | |
class |
ConfigurationNotFoundException
Thrown if a configuration source location specified when creating a Configuration is not found, including if null is
specified for provider options and the implementation does not provide
default options. |
class |
NoSuchEntryException
Thrown when an attempt to obtain an object from a Configuration does
not find a matching entry. |
Methods in net.jini.config with parameters of type ConfigurationException | |
protected void |
ConfigurationFile.throwConfigurationException(ConfigurationException defaultException,
List errors)
Allows a subclass of ConfigurationFile to
control the ConfigurationException that is thrown. |
Methods in net.jini.config that throw ConfigurationException | |
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. |
Object |
AbstractConfiguration.getEntry(String component,
String name,
Class type)
Returns an object of the specified type created using the information in the entry matching the specified component and name, which must be found, and supplying no data. |
Object |
AbstractConfiguration.getEntry(String component,
String name,
Class type,
Object defaultValue)
Returns an object of the specified type created using the information in the entry matching the specified component and name, and supplying no data, returning the default value if no matching entry is found and the default value is not Configuration.NO_DEFAULT . |
Object |
AbstractConfiguration.getEntry(String component,
String name,
Class type,
Object defaultValue,
Object data)
Returns an object of the specified type created using the information in the entry matching the specified component and name, and using the specified data (unless it is Configuration.NO_DATA ), returning the default
value if no matching entry is found and the default value is not Configuration.NO_DEFAULT . |
protected abstract Object |
AbstractConfiguration.getEntryInternal(String component,
String name,
Class type,
Object data)
Returns an object created using the information in the entry matching the specified component and name, and the specified data, for the requested type. |
protected void |
ConfigurationFile.throwConfigurationException(ConfigurationException defaultException,
List errors)
Allows a subclass of ConfigurationFile to
control the ConfigurationException that is thrown. |
protected Object |
ConfigurationFile.getEntryInternal(String component,
String name,
Class type,
Object data)
Returns an object created using the information in the entry matching the specified component and name, and the specified data, for the requested type. |
Class |
ConfigurationFile.getEntryType(String component,
String name)
Returns the static type of the expression specified for the entry with the specified component and name. |
protected Class |
ConfigurationFile.getSpecialEntryType(String name)
Returns the type of the special entry with the specified name. |
protected Object |
ConfigurationFile.getSpecialEntry(String name)
Returns the value of the special entry with the specified name. |
Object |
Configuration.getEntry(String component,
String name,
Class type)
Returns an object of the specified type created using the information in the entry matching the specified component and name, which must be found, and supplying no data. |
Object |
Configuration.getEntry(String component,
String name,
Class type,
Object defaultValue)
Returns an object of the specified type created using the information in the entry matching the specified component and name, and supplying no data, returning the default value if no matching entry is found and the default value is not Configuration.NO_DEFAULT . |
Object |
Configuration.getEntry(String component,
String name,
Class type,
Object defaultValue,
Object data)
Returns an object of the specified type created using the information in the entry matching the specified component and name, and using the specified data (unless it is Configuration.NO_DATA ), returning the default
value if no matching entry is found and the default value is not Configuration.NO_DEFAULT . |
Constructors in net.jini.config that throw ConfigurationException | |
ConfigurationFile(String[] options)
Creates an instance containing the entries specified by the options, using the calling thread's context class loader for interpreting class names. |
|
ConfigurationFile(String[] options,
ClassLoader cl)
Creates an instance containing the entries specified by the options, using the specified class loader for interpreting class names. |
|
ConfigurationFile(Reader reader,
String[] options)
Creates an instance containing the entries parsed from the specified character stream and options, using the calling thread's context class loader for interpreting class names. |
|
ConfigurationFile(Reader reader,
String[] options,
ClassLoader cl)
Creates an instance containing the entries parsed from the specified character stream and options, using the specified class loader for interpreting class names. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |