org.apache.velocity.util.introspection
public class Introspector extends IntrospectorBase
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CACHEDUMP_MSG
define a public string so that it can be looked for
if interested
|
private RuntimeLogger |
rlog
our engine runtime services
|
cachedClassNames, classMethodMaps
Constructor and Description |
---|
Introspector(RuntimeLogger logger)
Recieves our RuntimeServices object
|
Modifier and Type | Method and Description |
---|---|
protected void |
clearCache()
Clears the classmap and classname
caches, and logs that we did so
|
java.lang.reflect.Method |
getMethod(java.lang.Class c,
java.lang.String name,
java.lang.Object[] params)
Gets the method defined by
name and
params for the Class c . |
createClassMap
public static final java.lang.String CACHEDUMP_MSG
private RuntimeLogger rlog
public Introspector(RuntimeLogger logger)
public java.lang.reflect.Method getMethod(java.lang.Class c, java.lang.String name, java.lang.Object[] params) throws java.lang.Exception
name
and
params
for the Class c
.getMethod
in class IntrospectorBase
c
- Class in which the method search is taking placename
- Name of the method being searched forparams
- An array of Objects (not Classes) that describe the
the parametersjava.lang.Exception
protected void clearCache()
clearCache
in class IntrospectorBase
Copyright ? 2002 Apache Software Foundation. All Rights Reserved.