public class PVARPCXMLServiceFactory extends Object implements ServiceFactory
Constructor and Description |
---|
PVARPCXMLServiceFactory(File directory)
Creates a new factory that reads from the given directory.
|
public PVARPCXMLServiceFactory(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.