| java.lang.Object org.jaffa.rules.metadata.RulesMetaDataService
RulesMetaDataService | public class RulesMetaDataService (Code) | | This parses the Rules config file and creates instances of the ClassMetaData class. These instances are cached.
|
VARIATION_FILE_SUFFIX | final public static String VARIATION_FILE_SUFFIX(Code) | | |
clearCache | public static void clearCache()(Code) | | |
clearCache | public static void clearCache(String variation)(Code) | | |
getClassMetaData | public static ClassMetaData getClassMetaData(String className, String variation) throws SAXException, IOException(Code) | | Returns an instance of ClassMetaData for the given name. A null will be returned in case no definition is found in the Rules Config file.
Parameters: className - The class for which the XML will be parsed. Parameters: variation - This will determine the Rules config file to be parsed. If a null is passed, then the core file will be parsed. an instance of ClassMetaData. throws: SAXException - If any exception is thrown while parsing the XML file. throws: IOException - If any I/O error occurs in reading the XML file. Note: A FileNotFoundException will be thrown, in case the file is not found. |
|
|