public class XmlFieldFactoryFinder extends Object
Constructor and Description |
---|
XmlFieldFactoryFinder(ClassLoader classLoader)
Search the classpath for a configuration and instanciate a new factory.
|
public XmlFieldFactoryFinder(ClassLoader classLoader)
classLoader
- used to search a configuration file.public <T> T newFactory(Class<T> factoryClass)
xmlfield-factory.properties
where a specific factories implementation should be declared.T
- factory typefactoryClass
- lookup factory classCopyright © 2011–2014. All rights reserved.