org.dozer.util
Interface DozerClassLoader

All Known Implementing Classes:
DefaultClassLoader

public interface DozerClassLoader

Service Provider Interface for control of Dozer Class and Resource loading behavior. Could be used in order to provide specific implementations for web-container, j2ee container and osgi environments.

Author:
dmitry.buzdin

Method Summary
 Class<?> loadClass(String className)
          Loads class by provided name
 URL loadResource(String uri)
          Loads the resource by URI as an URL
 

Method Detail

loadClass

Class<?> loadClass(String className)
Loads class by provided name

Parameters:
className - fully qualified class name
Returns:
the class if found, null otherwise

loadResource

URL loadResource(String uri)
Loads the resource by URI as an URL

Parameters:
uri - uri of the resource
Returns:
resource URL


Copyright © 2005-2011 dozer. All Rights Reserved.