Cargo : Resource and DataSource Implementation
This page last changed on Feb 13, 2009 by adriancole.
new set of classes to manage Resource and DataSource types. POJOs that hold configuration details given from the user: Interfaces declaring support of the above (for use on LocalConfiguration classes) Class used to convert DataSource and Resource Objects to a String for use in configuration files: Class holding constants of configuration entry types (like java.sql.DataSource): Base class that provides hooks for common DataSource types LocalConfigurationWithConfigurationBuilderTests Classes that convert the POJOs to and from Properties objects: Test Fixtures that hold the configuration deviations all Configurations should implement Helper interface that you implement to validate your ConfigurationBuilder Interface declaring Tests needed to ensure your Builder supports all known Resource and DataSource types. Base implementation so that tests your ConfigurationBuilder against all known tests: Resource integration in maven: LocalConfiguration supports collections of DataSources and Resources. AbstractLocalConfiguration will throw an exception if during verify() an unsupported Resource or DataSource is found. AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder will use ConfigurationBuilder to assemble any Resources or DataSources and insert them into its XML file. AbstractLocalConfigurationWithConfigurationBuilderTest will test the above, ensuring all supported configurations operate Classes you need to implement for configuration support: subclass of AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder |
![]() |
Document generated by Confluence on Feb 24, 2011 19:55 |