|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.mapping.MappingLoaderRegistry
public final class MappingLoaderRegistry
| Constructor Summary | |
|---|---|
MappingLoaderRegistry(AbstractProperties properties)
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<MappingLoaderFactory> |
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(AbstractProperties properties)
properties - Properties.| Method Detail |
|---|
public void clear()
public MappingLoader getMappingLoader(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 Collection<MappingLoaderFactory> getMappingLoaderFactories()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||