001: /*
002: * Copyright 2005-2006 the original author or authors.
003: *
004: * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
005: * in compliance with the License. You may obtain a copy of the License at
006: *
007: * http://www.apache.org/licenses/LICENSE-2.0
008: *
009: * Unless required by applicable law or agreed to in writing, software distributed under the License
010: * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
011: * or implied. See the License for the specific language governing permissions and limitations under
012: * the License.
013: */
014:
015: package org.strecks.builder;
016:
017: import org.strecks.constants.DefaultImplementations;
018:
019: /**
020: * A bean which contains the configuration parameters which may be modified in the
021: * <i>strecks.properties</i> configuration file
022: * @author Phil Zoio
023: */
024: public class ImplementationConfig {
025:
026: private String builderClassName = DefaultImplementations.BUILDER;
027:
028: private String delegateClassName = DefaultImplementations.DELEGATE;
029:
030: private String actionCreatorClassName = DefaultImplementations.ACTION_CREATOR;
031:
032: private String contextFactoryClassName = DefaultImplementations.ACTION_CONTEXT_FACTORY;
033:
034: private String formHandlerClassName = DefaultImplementations.FORM_HANDLER;
035:
036: private String formValidationHandlerClassName = DefaultImplementations.FORM_VALIDATION_HANDLER;
037:
038: private String formPopulateSourceClassName = DefaultImplementations.FORM_POPULATION_SOURCE;
039:
040: private String requestPreprocessorClassName = DefaultImplementations.REQUEST_PREPROCESSOR;
041:
042: public String getActionCreatorClassName() {
043: return actionCreatorClassName;
044: }
045:
046: public void setActionCreatorClassName(String actionCreatorClassName) {
047: this .actionCreatorClassName = actionCreatorClassName;
048: }
049:
050: public String getFormPopulateSourceClassName() {
051: return formPopulateSourceClassName;
052: }
053:
054: public void setFormPopulateSourceClassName(
055: String formPopulationSourceClassName) {
056: this .formPopulateSourceClassName = formPopulationSourceClassName;
057: }
058:
059: public String getFormValidationHandlerClassName() {
060: return formValidationHandlerClassName;
061: }
062:
063: public void setFormValidationHandlerClassName(
064: String formValidationHandlerClassName) {
065: this .formValidationHandlerClassName = formValidationHandlerClassName;
066: }
067:
068: public String getRequestPreprocessorClassName() {
069: return requestPreprocessorClassName;
070: }
071:
072: public void setRequestPreprocessorClassName(
073: String requestPreprocessorClassName) {
074: this .requestPreprocessorClassName = requestPreprocessorClassName;
075: }
076:
077: public String getBuilderClassName() {
078: return builderClassName;
079: }
080:
081: public void setBuilderClassName(String builderClassName) {
082: this .builderClassName = builderClassName;
083: }
084:
085: public String getDelegateClassName() {
086: return delegateClassName;
087: }
088:
089: public String getFormHandlerClassName() {
090: return formHandlerClassName;
091: }
092:
093: public void setFormHandlerClassName(String formHandlerClassName) {
094: this .formHandlerClassName = formHandlerClassName;
095: }
096:
097: public void setContextFactoryClassName(
098: String contextFactoryClassName) {
099: this .contextFactoryClassName = contextFactoryClassName;
100: }
101:
102: public String getContextFactoryClassName() {
103: return contextFactoryClassName;
104: }
105:
106: public void setDelegateClassName(String delegateClassName) {
107: this.delegateClassName = delegateClassName;
108: }
109:
110: }
|