org.exolab.castor.xml.util.resolvers

Class ByMappingLoader

Implemented Interfaces:
ResolverClassCommand

public class ByMappingLoader
extends AbstractResolverClassCommand

How to sought a descriptor for a class in a specified mapping loader.
Version:
$Revision$ $Date$
Authors:
Joachim Grueneis
Steven Dolg
Since:
1.2

Constructor Summary

ByMappingLoader()
No specific stuff needed.

Method Summary

protected Map
internalResolve(String className, ClassLoader classLoader, Map properties)
If a mapping loader is set in the configuration the descriptor for the given class / className is taken from the mapping loader and put into the cache.

Methods inherited from class org.exolab.castor.xml.util.resolvers.AbstractResolverClassCommand

internalResolve, resolve

Constructor Details

ByMappingLoader

public ByMappingLoader()
No specific stuff needed.

Method Details

internalResolve

protected Map internalResolve(String className,
                              ClassLoader classLoader,
                              Map properties)
            throws ResolverException
If a mapping loader is set in the configuration the descriptor for the given class / className is taken from the mapping loader and put into the cache.
Overrides:
internalResolve in interface AbstractResolverClassCommand

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com