RuleLoader |
FinderFromClass.findLoader(Digester digester,
java.lang.Class<?> pluginClass,
java.util.Properties p) |
If there exists a property with the name matching constructor param
ruleClassAttr, then load the specified class, locate the appropriate
rules-adding method on that class, and return an object encapsulating
that info.
|
RuleLoader |
FinderFromDfltClass.findLoader(Digester digester,
java.lang.Class<?> pluginClass,
java.util.Properties p) |
If there exists a class whose name is the plugin class name + the
suffix specified to the constructor, then load that class, locate
the appropriate rules-adding method on that class, and return an
object encapsulating that info.
|
RuleLoader |
FinderFromDfltMethod.findLoader(Digester d,
java.lang.Class<?> pluginClass,
java.util.Properties p) |
If there exists on the plugin class a method with name matching the
constructor's methodName value then locate the appropriate Method on
the plugin class and return an object encapsulating that info.
|
RuleLoader |
FinderFromDfltResource.findLoader(Digester d,
java.lang.Class<?> pluginClass,
java.util.Properties p) |
If there exists a resource file whose name is equal to the plugin
class name + the suffix specified in the constructor, then
load that file, run it through the xmlrules module and return an object
encapsulating those rules.
|
RuleLoader |
FinderFromFile.findLoader(Digester d,
java.lang.Class<?> pluginClass,
java.util.Properties p) |
If there exists a property with the name specified in the constructor,
then load that file, run it through the xmlrules module and return an
object encapsulating those rules.
|
RuleLoader |
FinderFromMethod.findLoader(Digester d,
java.lang.Class<?> pluginClass,
java.util.Properties p) |
If there exists a property with the name matching constructor param
methodAttr, then locate the appropriate Method on the plugin class
and return an object encapsulating that info.
|
RuleLoader |
FinderFromResource.findLoader(Digester d,
java.lang.Class<?> pluginClass,
java.util.Properties p) |
If there exists a property with the name matching constructor param
resourceAttr, then load that file, run it through the xmlrules
module and return an object encapsulating those rules.
|
RuleLoader |
FinderSetProperties.findLoader(Digester d,
java.lang.Class<?> pluginClass,
java.util.Properties p) |
Returns a RuleLoader unless the properties contain an entry
with the name matching constructor param propsAttr, and the value
matching what is in falseval.
|
static RuleLoader |
FinderFromResource.loadRules(Digester d,
java.lang.Class<?> pluginClass,
java.io.InputStream is,
java.lang.String resourceName) |
Open the specified resource file (ie a file in the classpath,
including being within a jar in the classpath), run it through
the xmlrules module and return an object encapsulating those rules.
|