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.constants;
16:
17: import org.strecks.builder.PropertiesBuilder;
18: import org.strecks.context.ActionContextFactoryImpl;
19: import org.strecks.controller.ActionCreatorImpl;
20: import org.strecks.controller.ControllerProcessorDelegateImpl;
21: import org.strecks.form.handler.FormPopulateSourceImpl;
22: import org.strecks.form.handler.FormValidationHandlerImpl;
23: import org.strecks.form.handler.ValidateBindFormWrapper;
24: import org.strecks.interceptor.HistoryRecorder;
25: import org.strecks.interceptor.RedirectBeforeInterceptor;
26: import org.strecks.preprocess.EmptyPreprocessor;
27:
28: /**
29: * A constants file with the default implementation class names for the configurable aspects of the
30: * Strecks extension framework
31: * @author Phil Zoio
32: */
33: public interface DefaultImplementations {
34:
35: String BUILDER = PropertiesBuilder.class.getName();
36:
37: String DELEGATE = ControllerProcessorDelegateImpl.class.getName();
38:
39: String HISTORY = HistoryRecorder.class.getName();
40:
41: String REDIRECT = RedirectBeforeInterceptor.class.getName();
42:
43: String ACTION_CREATOR = ActionCreatorImpl.class.getName();
44:
45: String ACTION_CONTEXT_FACTORY = ActionContextFactoryImpl.class
46: .getName();
47:
48: String FORM_HANDLER = ValidateBindFormWrapper.class.getName();
49:
50: String FORM_POPULATION_SOURCE = FormPopulateSourceImpl.class
51: .getName();
52:
53: String FORM_VALIDATION_HANDLER = FormValidationHandlerImpl.class
54: .getName();
55:
56: String REQUEST_PREPROCESSOR = EmptyPreprocessor.class.getName();
57:
58: }
|