public final class MappingLoaderRegistry
extends java.lang.Object
| Constructor | Description | 
|---|---|
MappingLoaderRegistry(AbstractProperties properties) | 
 Creates an instance of this registry, loading the mapping loader
 factories from the castor.properties file. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
void | 
clear() | 
 Deletes all 'cached' mapping loader factories. 
 | 
MappingLoader | 
getMappingLoader(java.lang.String sourceType,
                BindingType bindingType) | 
 Returns a mapping loader for the suitable source and binding type. 
 | 
java.util.Collection<MappingLoaderFactory> | 
getMappingLoaderFactories() | 
 Returns a list of 'cached' mapping loader factories. 
 | 
public MappingLoaderRegistry(AbstractProperties properties)
properties - Properties.public void clear()
public MappingLoader getMappingLoader(java.lang.String sourceType, BindingType bindingType) throws MappingException
sourceType - The type of the mapping source.bindingType - The binding type to load from mapping.MappingException - A mapping error occurred preventing
         descriptors from being generated from the loaded mappingpublic java.util.Collection<MappingLoaderFactory> getMappingLoaderFactories()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com