|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Field[] |
getDeclaredFields(Class<?> clazz)
Obtain the declared fields for a class taking account of any security manager that may be configured. |
static Method[] |
getDeclaredMethods(Class<?> clazz)
Obtain the declared methods for a class taking account of any security manager that may be configured. |
static String |
getPropertyName(Method setter)
Extract the Java Bean property name from the setter name. |
static boolean |
isValidSetter(Method method)
Determines if a method has a valid name and signature for a Java Bean setter. |
static Class<?> |
loadClass(Container container,
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 String getPropertyName(Method setter)
public static boolean isValidSetter(Method method)
method
- The method to test
true
if the method does have a valid name and
signature, else false
public static Field[] getDeclaredFields(Class<?> clazz)
public static Method[] getDeclaredMethods(Class<?> clazz)
public static Class<?> loadClass(Container container, String className)
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |