|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StreamConfigurator
Extends Configurator by supporting configuration from a stream source.
| Method Summary | |
|---|---|
void |
configure(ObjectName target,
File file)
Configures a registered MBean from a configuration file by applying the ISO-8859-1 encoding. |
void |
configure(ObjectName target,
File file,
String encoding)
Configures a registered MBean from an encoded configuration file. |
void |
configure(ObjectName target,
InputStream input)
Configures a registered MBean from a configuration stream by applying the ISO-8859-1 encoding. |
void |
configure(ObjectName target,
InputStream input,
String encoding)
Configures a registered MBean from an encoded configuration stream. |
void |
configure(ObjectName target,
String path)
Configures a registered MBean from a configuration file path by applying the ISO-8859-1 encoding. |
void |
configure(ObjectName target,
String path,
String encoding)
Configures a registered MBean from an encoded configuration file path. |
void |
configure(ObjectName target,
URL url)
Configures a registered MBean from a configuration URL by applying the ISO-8859-1 encoding. |
void |
configure(ObjectName target,
URL url,
String encoding)
Configures a registered MBean from an encoded configuration URL. |
String |
getConfigKey()
Gets the path finder key for resolving configuration paths. |
void |
setConfigKey(String key)
Sets the path finder key for resolving configuration paths. |
| Methods inherited from interface org.norther.tammi.core.config.Configurator |
|---|
configure, configure |
| Method Detail |
|---|
String getConfigKey()
void setConfigKey(String key)
key - the path finder key.
void configure(ObjectName target,
String path)
throws ConfigurationException
target - the object name of the MBean.path - the pathname of the configuration.
ConfigurationException - on configuration errors
void configure(ObjectName target,
String path,
String encoding)
throws ConfigurationException
target - the object name of the MBean.path - the pathname of the configuration.encoding - the encoding of the configuration.
ConfigurationException - on configuration errors
void configure(ObjectName target,
File file)
throws ConfigurationException
target - the object name of the MBean.file - the configuration file.
ConfigurationException - on configuration errors
void configure(ObjectName target,
File file,
String encoding)
throws ConfigurationException
target - the object name of the MBean.file - the configuration file.encoding - the encoding of the configuration.
ConfigurationException - on configuration errors
void configure(ObjectName target,
URL url)
throws ConfigurationException
target - the object name of the MBean.url - the configuration URL.
ConfigurationException - on configuration errors
void configure(ObjectName target,
URL url,
String encoding)
throws ConfigurationException
target - the object name of the MBean.url - the configuration URL.encoding - the encoding of the configuration.
ConfigurationException - on configuration errors
void configure(ObjectName target,
InputStream input)
throws ConfigurationException
target - the object name of the MBean.input - the configuration stream.
ConfigurationException - on configuration errors
void configure(ObjectName target,
InputStream input,
String encoding)
throws ConfigurationException
target - the object name of the MBean.input - the configuration stream.encoding - the encoding of the configuration.
ConfigurationException - on configuration errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||