Package com.director.core

Examples of com.director.core.ExecutorAdapter.execute()


         throws DirectException {
      Map<String, String> nsMapping = this.actionMapping.get(directAction.getNamespace());
      String beanName = nsMapping.get(directAction.getName());
      Object bean = this.applicationContext.getBean(beanName);
      ExecutorAdapter beanExecutorAdapter = this.buildBeanExecutorAdapter(bean);
      return beanExecutorAdapter.execute(directAction, directMethod, data);
   }

   private ExecutorAdapter buildBeanExecutorAdapter(Object action) {
      return (action instanceof Advised) ?
            new AdvisedActionExecutorAdapter((Advised) action) : new DefaultActionExecutorAdapter(action);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.