public class JDBCXMLServiceFactory extends Object implements ServiceFactory
Constructor and Description |
---|
JDBCXMLServiceFactory(File directory)
Creates a new factory that reads from the given directory.
|
public JDBCXMLServiceFactory(File directory)
If the directory does not exist, it simply returns an empty set.
directory
- a directorypublic Collection<Service> createServices()
XML files that do not parse correctly are skipped.
createServices
in interface ServiceFactory
Copyright © 2010–2015. All rights reserved.