01: /*
02: * Copyright 2005-2006 the original author or authors.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
05: * in compliance with the License. You may obtain a copy of the License at
06: *
07: * http://www.apache.org/licenses/LICENSE-2.0
08: *
09: * Unless required by applicable law or agreed to in writing, software distributed under the License
10: * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11: * or implied. See the License for the specific language governing permissions and limitations under
12: * the License.
13: */
14:
15: package org.strecks.controller.impl;
16:
17: import java.util.List;
18: import java.util.Map;
19:
20: import org.strecks.context.ActionContext;
21: import org.strecks.controller.ControllerAction;
22: import org.strecks.injection.internal.InjectionWrapper;
23: import org.strecks.interceptor.AfterInterceptor;
24: import org.strecks.interceptor.BeforeInterceptor;
25: import org.strecks.navigate.NavigationHolder;
26: import org.strecks.source.ActionBeanSource;
27: import org.strecks.view.ActionForwardViewAdapter;
28: import org.strecks.view.ViewAdapter;
29:
30: /**
31: * @author Phil Zoio
32: */
33: public class NonStrutsActionControllerAction implements
34: ControllerAction {
35:
36: public void setInjectionHandlers(
37: Map<String, InjectionWrapper> injectionHandlers) {
38: }
39:
40: public Object newActionBean(ActionContext actionContext) {
41: return null;
42: }
43:
44: public void setNavigationHolder(NavigationHolder holder) {
45: }
46:
47: public ViewAdapter executeController(Object actionBean,
48: ActionContext actionContext) throws Exception {
49: return new ActionForwardViewAdapter(null);
50: }
51:
52: public void setBeanSource(ActionBeanSource clazz) {
53: }
54:
55: public ActionBeanSource getBeanSource() {
56: return null;
57: }
58:
59: public void preExecute(Object actionBean,
60: ActionContext actionContext) throws Exception {
61: }
62:
63: public List<BeforeInterceptor> getBeforeInterceptors() {
64: return null;
65: }
66:
67: public List<AfterInterceptor> getAfterInterceptors() {
68: return null;
69: }
70:
71: public void postExecute(Object actionBean,
72: ActionContext actionContext, Exception e) throws Exception {
73: }
74:
75: }
|