Package com.googlecode.sonic.action

Examples of com.googlecode.sonic.action.Action


    Class<?> clazz = Thread.currentThread().getContextClassLoader()
        .loadClass(clazzCanonicalName);
    Method method = clazz.getDeclaredMethod(methodName);
    if (Modifier.isPublic(method.getModifiers())
        && !Modifier.isAbstract(method.getModifiers())) {
      Action action = (Action) clazz.newInstance();
      setRequestAndResponse(action, request, response);
      log.info(clazzCanonicalName + "#" + method.getName() + " -> start");
      ActionResult actionResult = (ActionResult) method.invoke(action);
      log.info(clazzCanonicalName + "#" + method.getName() + " -> end");
      return getDestination(clazz, method, actionResult);
View Full Code Here

TOP

Related Classes of com.googlecode.sonic.action.Action

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.