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.
|
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.
|
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. |
createClassMappublic static final java.lang.String CACHEDUMP_MSG
public Introspector(org.apache.commons.logging.Log logger)
logger - a Log.public java.lang.reflect.Method getMethod(java.lang.Class c,
java.lang.String name,
java.lang.Object[] params)
throws java.lang.IllegalArgumentException
name and
params for the Class c.getMethod in class IntrospectorBasec - 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.IllegalArgumentException - When the parameters passed in can not be used for introspection.protected void clearCache()
clearCache in class IntrospectorBaseCopyright © 2012 The Apache Software Foundation. All Rights Reserved.