public abstract class MetaDataClassLoader
extends Object
The public API for metadata class loading in the OGM.
Do not use Class.forName() because it may not work when frameworks
such as Play reconfigure the ClassLoader hierarchies. Instead, replace
all such calls with MetaDataClassLoader.loadClass()
The principles behind this class loading technique are due to Vladimir Roubtsov,
as documented here: <a href="http://www.javaworld.com/columns/jw-qna-index.shtml">
If needed we can extend this class to load other types of resources apart from class files
- Author:
- vince