public class Introspector extends IntrospectorBase
Modifier and Type | Field and Description |
---|---|
static String |
CACHEDUMP_MSG
define a public string so that it can be looked for
if interested.
|
classMethodMaps
Constructor and Description |
---|
Introspector(org.apache.commons.logging.Log 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.
|
Method |
getMethod(Class c,
String name,
Object[] params)
Gets the method defined by
name and
params for the Class c . |
createClassMap
public static final String CACHEDUMP_MSG
public Introspector(org.apache.commons.logging.Log logger)
logger
- a Log
.public Method getMethod(Class c, String name, Object[] params) throws IllegalArgumentException
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 parametersIllegalArgumentException
- When the parameters passed in can not be used for introspection.protected void clearCache()
clearCache
in class IntrospectorBase
Copyright © 2014 The Apache Software Foundation. All rights reserved.