|
Apache Tomcat 7.0.33 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.catalina.util.Introspection
public class Introspection
Provides introspection utilities that either require knowledge of Tomcat internals or are solely used by Tomcat internals.
Constructor Summary | |
---|---|
Introspection()
|
Method Summary | |
---|---|
static java.lang.reflect.Field[] |
getDeclaredFields(java.lang.Class<?> clazz)
Obtain the declared fields for a class taking account of any security manager that may be configured. |
static java.lang.reflect.Method[] |
getDeclaredMethods(java.lang.Class<?> clazz)
Obtain the declared methods for a class taking account of any security manager that may be configured. |
static java.lang.String |
getPropertyName(java.lang.reflect.Method setter)
Extract the Java Bean property name from the setter name. |
static boolean |
isValidSetter(java.lang.reflect.Method method)
Determines if a method has a valid name and signature for a Java Bean setter. |
static java.lang.Class<?> |
loadClass(Container container,
java.lang.String className)
Attempt to load a class using the given Container's class loader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Introspection()
Method Detail |
---|
public static java.lang.String getPropertyName(java.lang.reflect.Method setter)
public static boolean isValidSetter(java.lang.reflect.Method method)
method
- The method to test
true
if the method does have a valid name and
signature, else false
public static java.lang.reflect.Field[] getDeclaredFields(java.lang.Class<?> clazz)
public static java.lang.reflect.Method[] getDeclaredMethods(java.lang.Class<?> clazz)
public static java.lang.Class<?> loadClass(Container container, java.lang.String className)
|
Apache Tomcat 7.0.33 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |