|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.castor.mapping.MappingLoaderRegistry
| 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(java.lang.String sourceType,
BindingType bindingType)
Returns a mapping loader for the suitable source and binding type. |
java.util.Collection |
getMappingLoaderFactories()
Returns a list of 'cached' mapping loader factories. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MappingLoaderRegistry(Configuration config)
config - Configuration.| Method Detail |
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 occured preventing
descriptors from being generated from the loaded mappingpublic java.util.Collection getMappingLoaderFactories()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||