public final class ExtDirectSpringUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
equal(Object a,
Object b)
Checks if two objects are equal.
|
static String |
getStackTrace(Throwable t) |
static Object |
invoke(org.springframework.context.ApplicationContext context,
String beanName,
MethodInfo methodInfo,
Object[] params)
Invokes a method on a Spring managed bean.
|
static Object |
invoke(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Locale locale,
org.springframework.context.ApplicationContext context,
ExtDirectRequest directRequest,
ParametersResolver parametersResolver) |
static Set<Method> |
selectMethods(Class<?> handlerType,
org.springframework.util.ReflectionUtils.MethodFilter handlerMethodFilter)
Selects handler methods for the given handler type.
|
public static boolean equal(Object a, Object b)
a - object oneb - object twopublic static Object invoke(org.springframework.context.ApplicationContext context, String beanName, MethodInfo methodInfo, Object[] params) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
context - a Spring application contextbeanName - the name of the beanmethodInfo - the methodInfo objectparams - the parametersIllegalArgumentException - if there is no bean in the contextIllegalAccessExceptionInvocationTargetExceptionpublic static Object invoke(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Locale locale, org.springframework.context.ApplicationContext context, ExtDirectRequest directRequest, ParametersResolver parametersResolver) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException, Exception
public static Set<Method> selectMethods(Class<?> handlerType, org.springframework.util.ReflectionUtils.MethodFilter handlerMethodFilter)
ReflectionUtils.MethodFilter parameter.
From the Spring 3.1 Source Code. We can delete this method as soon we
update the library to Spring 3.1handlerType - the handler type to search handler methods onhandlerMethodFilter - a ReflectionUtils.MethodFilter to help recognize
handler methods of interestCopyright © 2010-2012. All Rights Reserved.