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: * Copyright 2005-2006 the original author or authors.
16: *
17: * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
18: * in compliance with the License. You may obtain a copy of the License at
19: *
20: * http://www.apache.org/licenses/LICENSE-2.0
21: *
22: * Unless required by applicable law or agreed to in writing, software distributed under the License
23: * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
24: * or implied. See the License for the specific language governing permissions and limitations under
25: * the License.
26: */
27:
28: package org.strecks.builder;
29:
30: import org.strecks.context.ActionContextFactory;
31: import org.strecks.controller.ActionCreator;
32: import org.strecks.controller.ControllerProcessorDelegate;
33: import org.strecks.form.handler.FormWrapper;
34: import org.strecks.form.handler.FormPopulateSource;
35: import org.strecks.form.handler.FormValidationHandler;
36: import org.strecks.preprocess.RequestPreprocessor;
37:
38: /**
39: * The <code>Builder</code> is the configuration handling mechanism for the <code>ControllerRequestProcessor</code>.
40: * The default implementation is <code>PropertiesBuilder</code>
41: * @see org.strecks.builder.PropertiesBuilder
42: * @author Phil Zoio
43: */
44: public interface Builder {
45:
46: public void build(String prefix);
47:
48: public ImplementationConfig getConfig();
49:
50: public ActionCreator getActionCreator();
51:
52: public ControllerProcessorDelegate getControllerDelegate();
53:
54: public FormWrapper getFormHandler();
55:
56: public ActionContextFactory getActionContextFactory();
57:
58: public FormValidationHandler getFormValidationHandler();
59:
60: public FormPopulateSource getFormPopulateSource();
61:
62: public RequestPreprocessor getRequestPreprocessor();
63:
64: }
|