ch.elca.el4j.maven.plugins.springide
Class SourceResolver
java.lang.Object
ch.elca.el4j.maven.plugins.springide.SourceResolver
public class SourceResolver
- extends Object
This class is a helper class that will look for a file that defines the Module Application Context.
First it will check if it finds a .xml file, as this would be the preferred way to define the Module
Application Context in a web project, afterwards it will check through all .java files in the source
alphabetically and return the first one that contains // $$ BEANS INCLUDE $$
- Author:
- Daniel Thomas (DTH)
- File-location:
- SourceResolver
- Last check-in date:
- 2009-08-04 15:48:31 +0200 (Di, 04. Aug 2009) by swismer for revision 3884
Method Summary |
static File |
getSourceFile(File baseDir)
Search for a file in the sourcefiles that contains the module application context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceResolver
public SourceResolver()
getSourceFile
public static File getSourceFile(File baseDir)
- Search for a file in the sourcefiles that contains the module application context.
- Parameters:
baseDir
- are the paths to the sourcefiles
- Returns:
- File of first found document that contains $$ BEANS EXCLUDE
- Throws:
FileNotFoundException
Copyright © 2005-2011 ELCA. All Rights Reserved.