org.apache.struts2.views.xdocreport
Class LazyPopulateContext
java.lang.Object
org.apache.struts2.views.xdocreport.AbstractPopulateContext
org.apache.struts2.views.xdocreport.LazyPopulateContext
public class LazyPopulateContext
- extends AbstractPopulateContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyPopulateContext
public LazyPopulateContext()
getInstance
public static LazyPopulateContext getInstance()
getPropertyDescriptors
protected PropertyDescriptor[] getPropertyDescriptors(Object pojo)
throws Exception
- Specified by:
getPropertyDescriptors
in class AbstractPopulateContext
- Throws:
Exception
getSimpleProperty
protected Object getSimpleProperty(Object pojo,
PropertyDescriptor descriptor)
throws Exception
- Specified by:
getSimpleProperty
in class AbstractPopulateContext
- Throws:
Exception
getReadMethod
protected Method getReadMethod(Class clazz,
PropertyDescriptor descriptor)
getAccessibleMethod
protected Method getAccessibleMethod(Class clazz,
Method method)
Return an accessible method (that is, one that can be invoked via reflection) that implements the specified
Method. If no such method can be found, return null
.
- Parameters:
clazz
- The class of the objectmethod
- The method that we wish to call
- Returns:
- The accessible method
- Since:
- 1.8.0
Copyright © 2013. All rights reserved.