4.1 config file path migration question

Andrew Willerding <[email protected]>
Newsgroups gmane.comp.java.cayenne.user
Message-ID <[email protected]>
I have hopefully a quick question on how Cayenne can be configured to 
use a configuration file outside of a JAR/WAR.

I currently use this to reference an absolute file path for my Cayenne 
files but I see that FilesystemResourceLocator is now deprecated ...

             Module myModule = (org.apache.cayenne.di.Binder binder) -> {
                 binder.bind(ResourceLocator.class).toInstance(new 
FilesystemResourceLocator(filePathForCayenne));
                 ...

What is the "new" way to replicate the same functionality.  The 
deprecated notes just provide the same example I'm already using.

Thanks,

Andrew
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.