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) |
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
Copyright © 2010-2012. All Rights Reserved.