Package org.fugerit.java.core.cfg
Interface ConfigurableObject
-
- All Known Subinterfaces:
FixedFileFieldValidator
,IdGenerator
- All Known Implementing Classes:
AbstractConfigurableObject
,BasicIdGenerator
,BasicSeqIdGenerator
,BindingCatalogConfig
,BindingHelperCollectionToObject
,BindingHelperDateToXML
,BindingHelperDateToXMLOnly
,BindingHelperDefault
,BindingHelperInitTo
,BindingHelperStringValue
,BindingHelperXMLToDate
,CustomListCatalogConfig
,DataListCatalogConfig
,DefaultConfigurableObject
,FactoryCatalog
,FixedFileFieldBasicValidator
,FixedFileFieldDateValidator
,FixedFileFieldRegexValidator
,FugeritXmlSchemaCatalogConfig
,GenericListCatalogConfig
,GenericSeqIdGenerator
,ListMapCatalogConfig
,MiniFilterConfig
,MysqlSeqIdGenerator
,OracleSeqIdGenerator
,PostgresqlSeqIdGenerator
,PropertiesConfigurableObject
,PropertyCatalog
,SqlServerSeqIdGenerator
,TreeConfigKeyStringXML
,TreeConfigXML
,XMLConfigurableObject
,XMLSchemaCatalogConfig
public interface ConfigurableObject
A class implementing
ConfigurableObject
interface is an object which could be configured through an XML Document or a Properties object.- Author:
- Fugerit
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
configure(Properties props)
Configure the object.void
configure(Element tag)
Configure the object.void
configureProperties(InputStream source)
Configure the object.void
configureXML(InputStream source)
Configure the object.
-
-
-
Method Detail
-
configureProperties
void configureProperties(InputStream source) throws ConfigException
Configure the object.
- Parameters:
source
- The input source to use for configuration.- Throws:
ConfigException
- If troubles arise during object configuration.
-
configureXML
void configureXML(InputStream source) throws ConfigException
Configure the object.
- Parameters:
source
- The input source to use for configuration.- Throws:
ConfigException
- If troubles arise during object configuration.
-
configure
void configure(Properties props) throws ConfigException
Configure the object.
- Parameters:
props
- The property object to use for configuration.- Throws:
ConfigException
- If troubles arise during object configuration.
-
configure
void configure(Element tag) throws ConfigException
Configure the object.
- Parameters:
tag
- The tag object to use for configuration.- Throws:
ConfigException
- If troubles arise during object configuration.
-
-