org.castor.mapping
public final class MappingLoaderRegistry extends Object
Version: $Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Constructor Summary | |
---|---|
MappingLoaderRegistry(Configuration config)
Creates an instance of this registry, loading the mapping loader
factories from the castor.properties file. |
Method Summary | |
---|---|
void | clear()
Deletes all 'cached' mapping loader factories. |
MappingLoader | getMappingLoader(String sourceType, BindingType bindingType)
Returns a mapping loader for the suitable source and binding type. |
Collection | getMappingLoaderFactories()
Returns a list of 'cached' mapping loader factories. |
Parameters: config Configuration.
Parameters: sourceType The type of the mapping source. bindingType The binding type to load from mapping.
Returns: A mapping loader
Throws: MappingException A mapping error occured preventing descriptors from being generated from the loaded mapping
Returns: a list of 'cached' mapping loader factories.